Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Frank Barknecht
Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: > Hum, Thanks for this Frank. One question though, as it appears from what is > in the docs (all the numbers are "doubled", ie 1 = 0x11, a = 0xaa, etc.), do > these colors represent what you would get from the colors that get stored in > t

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Luke Iannini
Hi Mike, I made some objects to handle this in senderfruit/ (in extended) called color.rgb2pd24 (message color format) and color.rgb2pd18 (file color format). They both take lists of three RGB values scaled 0-1. There's also color.hsl2rgb, which as you'd expect converts from HSL colorspace to RGB

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Mike McGonagle
Hum, Thanks for this Frank. One question though, as it appears from what is in the docs (all the numbers are "doubled", ie 1 = 0x11, a = 0xaa, etc.), do these colors represent what you would get from the colors that get stored in the Pd file? In other words, the 8bit format for the colors? Thanks

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Mike McGonagle
Thanks, Claude. I was really wondering if this was something that I am doing wrong. Is this documented somewhere? If not, it should be. But then again, the internals of the file format are not documented as they should be. One of the things that I found in the Help file (no mention made of the diff

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Frank Barknecht
Hallo, Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote: > Mike McGonagle wrote: > > Hello all, > > > > I have a program that I have written that creates lots of small 'cnv' > > objects, where I am changing the colors of the backgrounds and the text in > > the object. I was noticing

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Claude Heiland-Allen
Mike McGonagle wrote: > Hello all, > > I have a program that I have written that creates lots of small 'cnv' > objects, where I am changing the colors of the backgrounds and the text in > the object. I was noticing that when I create these cnv objects, I have to > use a different 'color number' to

[PD-dev] 'cnv' colors

2008-07-07 Thread Mike McGonagle
Hello all, I have a program that I have written that creates lots of small 'cnv' objects, where I am changing the colors of the backgrounds and the text in the object. I was noticing that when I create these cnv objects, I have to use a different 'color number' to get the same color when I change