<div dir="ltr"><div>We already have a SANE_FRAME_JPEG and SANE_FRAME_IR in sane.h, but they are commented out because we could not agree on bumping the library version number. I bet you could find some ancient, and sometimes heated discussions in the archives of this mailing list.</div><div><br></div><div>allan</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jul 22, 2026 at 7:49 PM Benjamin Gordon <<a href="mailto:bmgordon@chromium.org">bmgordon@chromium.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><span style="background-color:transparent">On Wed, Jul 22, 2026 at 11:33 AM Ralph Little <<a href="mailto:skelband@gmail.com" target="_blank">skelband@gmail.com</a>> wrote:</span></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
We have had a question from a developer regarding support for IR from a <br>
scanner, namely the LS-5000 supported by the coolscan3 backend.<br>
This device can supply IR but there are a few different ways in which <br>
this can be delivered to the frontend. The brief discussion is here: <br>
<a href="https://gitlab.com/sane-project/backends/-/merge_requests/937" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends/-/merge_requests/937</a><br>
<br>
As I said in that discussion, I believe the SANE_FRAME_IR option (or <br>
some variant) is the better one to explicitly support it from the SANE <br>
standard. I assume that this was a proposed extension at some point. <br>
However, this would mean we would need to ratify a new standard and ask <br>
frontend developers to support the new features, something that we might <br>
struggle to do ourselves what with the backlog we currently have.<br>
<br>
There are mentioned some other options, such as delivering the IR frame <br>
as grey in the next frame, which is done currently by another backend, <br>
and has the advantage of being supported right now.<br>
<br>
Views? Any appetite for an update to the SANE Standard? I'm sure there <br>
are a few things that people would like to add.<br></blockquote><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Benjamin</div><div><br></div></div></div>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">"well, I stand up next to a mountain- and I chop it down with the edge of my hand"</div>