[sane-devel] Frame Types

Kåre Särs kare.sars at kolumbus.fi
Tue Feb 10 19:54:37 UTC 2009


Hi,

How common is it that backends return frame types SANE_FRAME_RED/GREEN/BLUE?

At the moment libksane reserves memory for the whole returned image and in 
case the backend returns the colors separately they are assembled to "normal" 
RGB format before the image data is returned to the user. Now there is a need 
to return the data for large images in chunks in stead of the whole thing at 
once. So the question is: Is it worth the time to work around this by 
splitting up the selected area and scanning one part at a time or is these 
frames only used in very few exotic models?

Thanks,
  Kåre



More information about the sane-devel mailing list