[sane-devel] API clarification question
m. allan noah
kitno455 at gmail.com
Fri Feb 2 17:17:35 GMT 2024
Yes, it seems that you want something more like:
Member last_frame is set to SANE_TRUE if and only if the frame that is
currently being acquired (or the frame that will be acquired next if there
is no current frame) is the last (and possibly only) frame of the image
(e.g., the current frame is the blue component of a red, green, blue
image)."
On Fri, Feb 2, 2024 at 12:01 PM Jonathan Schulz <jonathan.schulz at hotmail.de>
wrote:
> Hello,
>
> I have posted a question on GitLab regarding the SANE API (
> https://gitlab.com/sane-project/standard/-/issues/10). Ralph suggested
> that I also ask here. The sentence in question is
>
> "Member last_frame is set to SANE_TRUE if and only if the frame that is
> currently being acquired (or the frame that will be acquired next if there
> is no current frame) is the last frame of a multi frame image (e.g., the
> current frame is the blue component of a red, green, blue image)."
>
> This sounds to me as if the following should be true:
>
> Whenever format is set to SANE_FRAME_GRAY or SANE_FRAME_RGB, last_frame
> should be equal to SANE_False.
>
> However, both scanimage and the test backend behave differently. Does
> anyone have any thoughts on this matter? Otherwise, I will open a MR to
> adapt the API spec to the real usage.
>
> Best,
> Jonathan
>
--
"well, I stand up next to a mountain- and I chop it down with the edge of
my hand"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20240202/dc744d6a/attachment.htm>
More information about the sane-devel
mailing list