[sane-devel] SANE2 standard revisited: image data format
    Oliver Rauch 
    oliver.rauch at rauch-domain.de
       
    Tue Dec 10 18:33:20 GMT 2002
    
    
  
> The difference isn't so much the data format as the code flow:  all the
>  planar data is returned after a single sane_start(), and the multi-frame
>  flags for determining which 'frame' is currently being scanned can be
>  removed from the standard.
But you can not expect that the order of the colors is red-green-blue,
so you again need a way to tell the frontend which color/channel is
transmitted.
> I understand, and it's not an issue.
> The PLANAR mode would still have N channels, just transmitted one channel
>  at a time instead of sample-interleaved.
>
> I envision three SANE_Frame types:
>
>   o SANE_FRAME_PACKED  --- sample-interleaved channels, following all the
>                             current RAW specs.
>   o SANE_FRAME_PLANAR  --- planar channels, following all the current RAW
>                             specs.
>   o SANE_FRAME_MIME    --- opaque image data, with a MIME type.
>
> Each sane_start() cycle would return a single frame, and each frame would
>  be a complete image.
I do not see that this improves anything. You rename several things
but you do not change a lot. And to remove sane_start in between
does not make anything easier.
Oliver
-- 
http://www.xsane.org
http://www.mostang.com/sane
http://www.rauch-domain.de
mailto:Oliver.Rauch at Rauch-Domain.DE
    
    
More information about the sane-devel
mailing list