1. Functionality
These will not work if native libraries are absent:
12 -bit lossy JPEG, lossless JPEG, JPEG-LS
2. Acceleration
These *will* work if native libraries are absent but will fall back to either a
Java implementation in JAI Image I/O Tools or to the implementation in Java SE.
All JPEG variants, JPEG2000, PNG, TIFF bilevel encodings.
I am using jai-imageio to convert from tif to jpg.
It seems to work quite well with or without the
native library. The library contains acceleration
routines for JPG encoding/decoding as far as I know
but my code doesn't seem to require it.
What are the scenarios when the native library is
required?
Here is an example of how I am using the API:
File tifFile = new File("image.tif");
BufferedImage tif = ImageIO.read(tifFile);
File jpgFile = new File("image.jpg");
ImageIO.write(tif, "jpeg", jpgFile);
Thanks
[Message sent by forum member 'bpb' (bpb)]
http://forums.java.net/jive/thread.jspa?messageID=258816