xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: Colour value differences between generated reference images and those in the repository
Date Wed, 03 Oct 2007 01:20:38 GMT
Cameron McCormack:
>   // Premultiplied 0.5 opacity gold rgb(255,215,0)
> 
>   Ea = trunc(trunc(0.5 * 255) / 255) = 0.49804

One too many trunc()s in there, should be:

    Ea = trunc(0.5 * 255) / 255        = 0.49804

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message