Skip to Content
avatar image
Former Member

unable to display tiff images through webdynpro

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 06, 2009 at 05:44 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2009 at 09:13 AM

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

    Armin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2009 at 11:23 AM

    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,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2009 at 11:33 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded