problem in reading/writing images using imageio


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: problem in reading/writing images using imageio

  1. #1
    Join Date
    Jan 2005
    Posts
    3

    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 ? "

  2. #2
    Join Date
    Jan 2005
    Posts
    3
    hi friends,

    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.

    madhu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center