R
roger.books
I have an application that reads TIFFs from a file that is a
concatenation of TIFFs along with some special headers. For this
question I have the TIFF in a byte array.
I have installed the jai/ImageIO libs from Sun,
ImageIO.getReaderFormatNames() shows TIFF as one of the options.
I can write out the TIFF file and read it in using:
File f = new File("c:\images\myimage.tiff");
BufferedImage bi = ImageIO.read(f);
and write out the converted file using ImageIO.write()
however, I need to do 50,000 images and would prefer to skip the
intermediate file. Does anyone have any pointers on how to do this?
I appreciate any input.
Roger Books
concatenation of TIFFs along with some special headers. For this
question I have the TIFF in a byte array.
I have installed the jai/ImageIO libs from Sun,
ImageIO.getReaderFormatNames() shows TIFF as one of the options.
I can write out the TIFF file and read it in using:
File f = new File("c:\images\myimage.tiff");
BufferedImage bi = ImageIO.read(f);
and write out the converted file using ImageIO.write()
however, I need to do 50,000 images and would prefer to skip the
intermediate file. Does anyone have any pointers on how to do this?
I appreciate any input.
Roger Books