3 Replies Latest reply on Nov 6, 2012 8:25 AM by MiPa

    Multipage TIFFs

      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
          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
            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
              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 :-)