Re: ByteArraySeekableStream ignores offset

From: Alexandr Molochnikov (NOBODY_at_NO_SPAM.com)
Date: 02/07/04

  • Next message: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"
    Date: Sat, 07 Feb 2004 00:04:53 GMT
    
    

    "ak" <spam@imagero.com> wrote in message news:c00ls1$a0o$1@online.de...
    > what I can't understand is why you first create PlanarImage and after
    > convert it to BufferedImage.
    > Use ImageIO and read direct as BufferedImage.

    I have to use JAI to support the widest possible range of image formats. The
    approach you suggest does not work with formats other tha GIF, JPEG and
    PNG. E.g. for BMP images the BufferedImage returned from ImageIO is null.

    PlanarImage etc. is how JAI creates images.

    Regards,

    Alex.


  • Next message: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"

    Relevant Pages

    • Re: JAI - Reduce memory requirements for TIF --> JPEG translation
      ... BTW if you use JAI only to save image, you may better use ImageIO - ... in this case you don't need even PlanarImage and can save BufferedImage ... http://uio.imagero.com Unified I/O for Java ...
      (comp.lang.java.programmer)
    • Re: ByteArraySeekableStream ignores offset
      ... what I can't understand is why you first create PlanarImage and after ... Use ImageIO and read direct as BufferedImage. ... http://reader.imagero.com the best java image reader. ...
      (comp.lang.java.gui)
    • Native memory backed BufferedImage with NIO
      ... I work on an application which grabs/creates images in a native DLL ... using a class which displays a given BufferedImage. ... On the Java side: ... On the JNI side, ...
      (comp.lang.java.programmer)
    • Re: fast image compare?
      ... > Whats the best way to compare 2 images to see if they are exactley the ... a BufferedImage and a sun.awt.windows.WImage. ... http://uio.dev.java.net Unified I/O for Java ...
      (comp.lang.java.gui)
    • Re: fast image compare?
      ... > Whats the best way to compare 2 images to see if they are exactley the ... a BufferedImage and a sun.awt.windows.WImage. ... http://uio.dev.java.net Unified I/O for Java ...
      (comp.lang.java.programmer)