colorsys: RGB to YIQ transform matrix

A.M. Kuchling amk at amk.ca
Tue Nov 11 07:47:21 EST 2003


On Mon, 10 Nov 2003 22:53:58 -0500, 
	Edward C. Jones <edcjones at erols.com> wrote:
> Why does colorsys use a 2 decimal place wersion of the array? What is 
> the actual definition of the RGB to YIQ transform?

I'll wager there's no technical reason.  Maybe whoever wrote the module 
used a reference that only quoted the matrix to two places. You could submit
a patch on SourceForge to correct this.  

(Hm, looks like there's no test suite for the module.  That would be worth
fixing.)

--amk




More information about the Python-list mailing list