[sane-devel] Scanning with 16 bits color depth (2 bytes/color)
nicolas.martin at freesurf.fr
Thu Oct 2 19:54:28 UTC 2008
I'm on the way to upgrade the pixma backend to support TPU scanning, at
least for MP970.
TPU scanning with this PIXMA model requires to set up the 48 bits mode,
the images supplied seems (but still to be confirmed) to be 2
bytes/color (so 6 bytes/pixel), in the form:
The backend currently deals with that, but when running with a frontend
like scanimage, it segfaults at scan image end.
So my question is: I know Sane standard defines image format to be RGB,
But is it possible to request a Sane frontend to get a 16 bits/color
image format and deal with that, or do I have to transform this 48 bits
image format into 24 bits in the backend, before returning the image
data to the frontend ?
More information about the sane-devel