C
Clive Moore
Has anyone any ideas on how to speed up the decoding of an tiff image
using JAI. This is the code im useing but its very slow when we get to
the decodeAsRenderedImage method. Any help would be much appreciated.
ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
numPages = dec.getNumPages();
image =
new NullOpImage(dec.decodeAsRenderedImage(imageToLoad),
null,
OpImage.OP_IO_BOUND,
null);
using JAI. This is the code im useing but its very slow when we get to
the decodeAsRenderedImage method. Any help would be much appreciated.
ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
numPages = dec.getNumPages();
image =
new NullOpImage(dec.decodeAsRenderedImage(imageToLoad),
null,
OpImage.OP_IO_BOUND,
null);