batik-dev@xmlgraphics.apache.org
[Top] [All Lists]

Re: Colour value differences between generated reference images and thos

Subject: Re: Colour value differences between generated reference images and those in the repository
From: Cameron McCormack
Date: Wed, 3 Oct 2007 11:20:38 +1000
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@xxxxxxxxxx  â  ICQ 26955922  â  MSN cam@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: batik-dev-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>