problem in reading/writing images using imageio
i have a small doubt in imageio..
is it possible to "write image data piece-by-piece, without storing the entire image in memory at once ? "
i think you are not able to understand my requirement , sorry for last post..
here is my requirement in detail
i will get a image from scanner by using
image= source.acquireImage();(either morena/jtwain).
Now, I would like to save this image(2500X3000) in a file.
when I try to buffer this image I am getting OutOf Memory error.
I tried using ImageIO to get buffered image, but no use.
In ImageIO I can read any section of an image by specifying source rectangle in ImageReadParam.
Now, I want to write these multiple buffered sections of the image to a single file, just like I read them.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center