This discussion is archived
3 Replies Latest reply: Nov 6, 2012 12:25 AM by MiPa RSS

Multipage TIFFs

ibibby Newbie
Currently Being Moderated
Does JavaFX have any built-in way to retrieve pages from a multi-page TIFF file other than the first one? Do I still need to use JAI (which is slooooow) to do this?
  • 1. Re: Multipage TIFFs
    jsmith Guru
    Currently Being Moderated
    JavaFX has no direct support for the TIFF image file format, so you will need to use some other utility to process your TIFF files.

    The related (unassigned and unscheduled) feature request is: http://javafx-jira.kenai.com/browse/RT-6038 "support JPEG 2000 and TIFF image format"
  • 2. Re: Multipage TIFFs
    gimbal2 Guru
    Currently Being Moderated
    IMO: I would rather have built in (multipage) TIFF support at the ImageIO level in stead of in JavaFX. TIFF has its uses, especially the multipage thingie makes it unique compared to the more popular image types that the JDK supports out of the box.

    I never experienced the JAI logic to be slow though. At least the platform independent version I was taking from the Maven repositories does the job decently in my opinion.
  • 3. Re: Multipage TIFFs
    MiPa Pro
    Currently Being Moderated
    I once had an issue with image handling beeing very slow. It happened for all images which contained a color profile. After storing the images again without color profile image handling was fast again. Just an idea :-)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points