|
From: Wojciech M. <wm...@gm...> - 2014-10-17 17:56:32
|
I might have a patch ready for this, brb. 2014-10-17 19:42 GMT+02:00 Jim Barry <ji...@ch...>: > On 17 October 2014 17:52, Michael Droettboom <md...@st...> wrote: >> >> In agg-2.4, if I draw a rectangle path with RGB value of (0, 255, 102, >> 64), the resulting pixel value is (0, 255, 102, 64). >> >> In agg-svn, I get (0, 255, 104, 64). > > >> it seems the difference is not so much in anything intentional >> but from the fact that everything but the final demultiply is downgraded >> to color_type, and then the demultiply happens. Whereas in the old >> version, it’s still doing calculations in calc_type (uint16) up until >> the final demultiply. > > > Yes, I see the problem. I suppose it must have happened when refactoring for > the floating-point support. I will try to think of a solution. > > - Jim > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Vector-agg-general mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vector-agg-general > |