Attached is a patch for the sane-backends v4l driver. When asking v4l1
for RGB, it actually returns BGR and applications are expected to adjust
appropriately.

This patch will convert the data returned by v4l1 to RGB so it is
displayed properly by sane frontends expecting SANE_FRAME_RGB.

Thanks,

Marc.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l_bgr_to_rgb.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20101107/285a2f21/attachment.bin>

Reply via email to