cancel
Showing results for 
Search instead for 
Did you mean: 

unable to display tiff images through webdynpro

Former Member
0 Kudos

Hi All,

There is a requirement where I need to open a webdynpro application form along with image from portal. Its working fine with JPEG images but not working for tiff images.

Even when I am trying to open a tiff image in a webdynpro application simply by pasting it into src- mimes- components its not displaying the image while for jpg its working fine.

What may be the problem?? Are tiff images not suppoted by webdynpro??

Appreciate your early Response.

Thanks,

Mitali

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I am trying to do the same in my application i.e. trying to convert the tiff to jpg/png.

Since the NWDS version we are using is NWDS 2004 SP22.

It does not provide RESOURCE as an option to save the resource.

Please suggest if there is any way we can convert the Tiff file (available in binary format) to JPG/PNG.

Former Member
0 Kudos

Hi mitali,

TIFF format is not supported, but you can use ImageConveter Plus to convert the format to JPG, which is supported by web dynpro.

you can download the software from this [Link|http://www.imageconverterplus.com/how-to-convert/tiff_jpg.html].

just download the Free version,

regards,

Former Member
0 Kudos

The Image UI element supports the same formats as your browser. TIFF is no such format.

Armin

0 Kudos

Hi Mittali,

You can use the below mentioned snippet. I hope it will work

IWDResource reportRes = WDResourceFactory.createCachedResource(inputStream,"Document.tif",WDWebResourceType.JPG_IMAGE,true);

String urlFile = reportRes.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal());

wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlFile,"Image").show();

u2018Imageu2019 is the UI element created in your screen where you want to display the tiff image.