emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PNG image files with alpha channel


From: Chong Yidong
Subject: Re: PNG image files with alpha channel
Date: Thu, 08 May 2008 22:35:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Miles Bader <address@hidden> writes:

> So the problem may in fact be something with the libpng 16-to-8-bit
> conversion code...

I found the error.  When setting the background color, we must provide
it in the original bit-depth of the image, even if we call
png_set_strip_16.  So, for 16-bit png images, it's just a matter of
supplying the background color at a 16-bit depth.

I've checked in a fix.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]