[sane-devel] Get raw image from scanner
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Tue Nov 29 17:17:42 GMT 2022
That's exactly what I did :)
Thanks James.
Em ter., 29 de nov. de 2022 às 14:15, James Ring <sjr at jdns.org> escreveu:
> Hey Thiago,
>
> On Tue, Nov 29, 2022 at 9:09 AM Thiago Milczarek Sayão <
> thiago.sayao at gmail.com> wrote:
>
>> Thanks Ralph
>>
>> I just got each frame and sent it to java thru JNI and joined into a
>> BufferedImage, it worked.
>>
>
> jfreesane tries to handle all the different combinations of frame data
> that the SANE spec says you can get,
> https://github.com/sjamesr/jfreesane/blob/master/src/main/java/au/com/southsky/jfreesane/SaneImage.java#L91
>
> You might wanna steal that/look at it for your code.
>
> Regards,
> James
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20221129/f7cc231f/attachment.htm>
More information about the sane-devel
mailing list