on 05-06-2009 5:17 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Image UI element supports the same formats as your browser. TIFF is no such format.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.