[sane-devel] [PATCH 3/3] Avoid attaching grayscale ICC profiles to rgb images, or vice-versa.

Olaf Meeuwissen paddy-hack at member.fsf.org
Thu May 4 09:18:26 UTC 2017


Hi Aaron
Aaron Muir Hamilton writes:

> I just tried it by hacking scanimage up a bit to threshhold and convert
> the lines to monochrome right before writing the PNG, and change the PNG
> header to always be 1-bit; libpng didn't complain about attaching a
> grayscale profile to a 1-bit monochrome image.

Ok so based on this and your comment in the previous mail in this thread
I'll just go ahead and merge against HEAD and push the changes to Alioth.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list