[sane-devel] SANE2 standard revisited: image data format
Tue, 10 Dec 2002 19:33:20 +0100
> 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-fra=
> 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
> I understand, and it's not an issue.
> The PLANAR mode would still have N channels, just transmitted one chann=
> at a time instead of sample-interleaved.
> I envision three SANE_Frame types:
> o SANE_FRAME_PACKED --- sample-interleaved channels, following all t=
> current RAW specs.
> o SANE_FRAME_PLANAR --- planar channels, following all the current R=
> o SANE_FRAME_MIME --- opaque image data, with a MIME type.
> Each sane_start() cycle would return a single frame, and each frame wou=
> 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.