Notes on testing, and: Re: [cairo] Pattern rewrite

Carl Worth cworth at cworth.org
Thu Jan 27 11:55:14 PST 2005


On Thu, 27 Jan 2005 14:44:39 -0500, Kristian Høgsberg wrote:
> Bah, I had it the wrong way around: writing the PNG maps the color 
> channels in the range 0-alpha into 0-255, reading it maps 0-255 back 
> into 0-alpha.  This is doable without throwing away information, the 
> problem was just a rounding error in the unpre- and pre-mulitiplication 
> functions.  This is fixed in cvs now.

Thanks for the fix Kristian.

Of course, you did just make me throw away every reference image in my
test suite. Ah, well. ;-)

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050127/a8977cd9/attachment.pgp


More information about the cairo mailing list