Re: ByteArraySeekableStream ignores offset
From: Alexandr Molochnikov (NOBODY_at_NO_SPAM.com)
Date: 02/07/04
- Previous message: Lee Weiner: "Re: Selectable/Copyable JLabel Text"
- In reply to: ak: "Re: ByteArraySeekableStream ignores offset"
- Next in thread: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"
- Reply: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Lee Weiner: "Re: Selectable/Copyable JLabel Text"
- In reply to: ak: "Re: ByteArraySeekableStream ignores offset"
- Next in thread: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"
- Reply: Marco Schmidt: "Re: ByteArraySeekableStream ignores offset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|