<div>Hi,</div>
<div> </div>
<div>Iam using cairo in my application to set and get the color.</div>
<div>Values which Iam getting for particular pixel is not exactly same which we are setting, it is nearabout of that value.<br>I made a sample in which, For example if we are setting the (r=10, b=20, g=30, a=40) to the pixel,  when I tried to get the color value from that pixel. </div>

<div>Iam getting following values in return (r=6, b=19, g=26, a=40).<br>I tried few other ways (sample is attached) but result is same.<br>Issue seems to be due to division / multiplication / conversion between Double -&gt; int -&gt; store in int value.<br>
I Found a open source link where it states that, The result comes due to the different conversions of<br>color for it&#39;s representation:  double -&gt; 4 uint16 (cairo) -&gt; 1 uint32 (pixman)<br>following is the link:<br>
<a href="http://lists.cairographics.org/archives/cairo/2010-December/021295.html">http://lists.cairographics.org/archives/cairo/2010-December/021295.html</a></div>
<div>Is any one having any update on this issue. Or there is any other way to get the exact value of color.<br></div>