[sane-devel] SANE_FRAME_IR
Alexander Pevzner
pzz at apevzner.com
Fri Jul 24 00:31:01 BST 2026
On 7/23/26 2:20 AM, Benjamin Gordon wrote:
> If there's the possibility of re-opening the standard, I for one would
> like to consider a more general handling of frame formats. All the
> scanners that support eSCL these days can return JPEG directly, and some
> of them can even return a whole PDF at once. It would be great for the
> frontend to be able to negotiate some sort of passthrough mode instead
> of decoding these and then re-encoding in the frontend.
I would prefer to have an option that allows to negotiate returned
format in terms of MIME types (with some MIME type reserved to the
standard SANE frame format).
Please notice, sane_get_parameters cannot be implemented (or should just
return requested, not the actual image parameters) if this option is
active, because sane_get_parameters may require at least partial
decoding of the image, returned by the scanner.
--
Wishes, Alexander Pevzner (pzz at apevzner.com)
More information about the sane-devel
mailing list