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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL