Hey Thiago,

On Tue, Nov 29, 2022 at 9:09 AM Thiago Milczarek Sayão <
thiago.sa...@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

Reply via email to