Re: Manipulating Raw Picture Data

2008-06-27 Thread Jim Lambert
On Jun 26, 2008, at 8:47 PM, [EMAIL PROTECTED] wrote: I have an image where different regions consist of known colors. I would like to fill a region with color at runtime as a sort of highlight. The situation does not lend itself to using separate transparent png images In addition to the

Re: Manipulating Raw Picture Data

2008-06-26 Thread Wilhelm Sanke
Mark Greenberg markgreenberg at cox.net wrote: I have an image where different regions consist of known colors. I would like to fill a region with color at runtime as a sort of highlight. The situation does not lend itself to using separate transparent png images. I have been using the floo

Re: Manipulating Raw Picture Data

2008-06-26 Thread viktoras didziulis
just played around a little with this handler on 600x500 image (MS Windows XP, RR 2.9, Intel Celeron 1500 MHz): on repColor local myData local myTimer local myColor1 local myColor2 put binaryEncode("C3",myRed,myGreen,myBlue) into myColor1 put binaryEncode("C3",myRed2,myGreen2,myBlue2) into m

Re: Manipulating Raw Picture Data

2008-06-25 Thread Chipp Walters
I doubt it will be fast enough for you. Why don't you try using a graphic rectangle on top using an ink effect? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription p

Re: Manipulating Raw Picture Data

2008-06-25 Thread Mark Schonewille
Hi Mark, I believe you want something like this: put NULL & numToChar(red) & numToChar(green) & numToChar(blue) into myColor1 put NULL & numToChar(red2) & numToChar(green2) & numToChar(blue2) into myColor2 put the imageData of img 1 into myData replace myColor1 with myColor2 in myData set t

Manipulating Raw Picture Data

2008-06-25 Thread Mark Greenberg
I have an image where different regions consist of known colors. I would like to fill a region with color at runtime as a sort of highlight. The situation does not lend itself to using separate transparent png images. I have been using the floodfill bucket tool to achieve this, but it is sl