The same happens with pix_2grey.

If I understand correctly, while pix_grey changes the colorspace, pix_2grey actually computes the color values to convert the image to grey without changing the color space. I had a look at the source code and the weight factors for converting RGB to grey seem correct, they do sum to 256, so it's really strange that white becomes 86% grey........


Matteo Sisti Sette escribió:
Hi list,

Before I file a bug report (and since it seems strange that it hasn't been reported already), I though I'd check if I'm missing something:

why in the attached patch isn't the white white? That is, after converting with [pix_grey], white becomes a bit darker. Seems like some factor in the conversion is wrong.
Or am I missing something?

Is there any easy workaround?

thanks
m.




--
Matteo Sisti Sette
[email protected]
http://www.matteosistisette.com

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to