Re: ByteArraySeekableStream ignores offset
From: Marco Schmidt (marcoschmidt_at_geocities.com)
Date: 02/07/04
- Next message: ak: "Re: Setting Background partly transparent"
- Previous message: Alexandr Molochnikov: "Re: ByteArraySeekableStream ignores offset"
- In reply to: Alexandr Molochnikov: "Re: ByteArraySeekableStream ignores offset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 07 Feb 2004 01:43:16 +0100
Alexandr Molochnikov:
>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.
You can download plugins for ImageIO from
<http://java.sun.com/products/java-media/jai/downloads/download-iio.html>.
Quote:
JAI Image I/O Tools provides reader, writer, and stream plug-ins for
the Java Image I/O Framework and Image I/O-based read and write
operations for Java Advanced Imaging. Reader-writer plug-ins are
supplied for the BMP, JPEG, JPEG 2000, PNG, PNM, Raw, TIFF, and WBMP
image formats. The supplied streams and associated service providers
use the New I/O APIs.
Java 1.5 (now available as a beta version) comes with built-in BMP
support:
<http://java.sun.com/j2se/1.5.0/docs/api/javax/imageio/package-summary.html#package_description>.
Regards,
Marco
-- Please reply in the newsgroup, not by email! Java programming tips: http://jiu.sourceforge.net/javatips.html Other Java pages: http://www.geocities.com/marcoschmidt.geo/java.html
- Next message: ak: "Re: Setting Background partly transparent"
- Previous message: Alexandr Molochnikov: "Re: ByteArraySeekableStream ignores offset"
- In reply to: Alexandr Molochnikov: "Re: ByteArraySeekableStream ignores offset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|