Re: How to find complementary colour for pixel

2007-04-27 Thread Steven D'Aprano
On Thu, 26 Apr 2007 21:17:42 -0700, James Stroud wrote: > Johny wrote: >> I use PIL to write some text to a picture.The text must be seen wery >> clearly. >> I write the text to different pictures but to the same position. As >> pictures maybe different, colour, in the position where I write t

Re: How to find complementary colour for pixel

2007-04-27 Thread Laurent Pointal
Steven D'Aprano a écrit : > I shouldn't think so... I always forget if black is all ones or all > zeroes, so I checked here: http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html For this I use the mnemotechnics idea of "chromatic coil" [*], when there are *all* colors turning it appear to be *white*. A

Re: How to find complementary colour for pixel

2007-04-26 Thread James Stroud
Johny wrote: > I use PIL to write some text to a picture.The text must be seen wery > clearly. > I write the text to different pictures but to the same position. As > pictures maybe different, colour, in the position where I write the > text, is also different. > Is there a way how to set the f

Re: How to find complementary colour for pixel

2007-04-26 Thread Bjoern Schliessmann
Johny wrote: > As pictures maybe different, colour, in the position where I > write the text, is also different. > Is there a way how to set the font colour so that it will be seen > very clearly in the picture? > For example, if the picture is bright ( for example yellow), the > font colour shou