Re: SANE_FRAME_IR
Alexander Pevzner <[email protected]> Fri, 24 Jul 2026 02:31:01 +0300
| Newsgroups | gmane.comp.graphics.scanning.sane.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ([email protected])