Re: Pixel Question

2006-03-24 Thread jbv
great job Scott. BTW I didn't know that chartonum also worked on binary data... JB Actually, it works on the imageData format for representing image pixel colors in Rev. that's a good thing to know... so far, when manipulating imageData, I used binaryDecode and baseConvert...

Re: Pixel Question

2006-03-24 Thread Bob Warren
Scott: I am happy to say that your function appears to be OK, and not slightly inaccurate as I reported. I don't know what happened because I certainly checked the image's colour values in Photoshop before making the comparison. However, as a result of what you said below, I went back to

Pixel Question

2006-03-23 Thread Bob Warren
Dear All, Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I have tried, but so far without success. Any ideas anyone? Bob

Re: Pixel Question

2006-03-23 Thread Richard Gaskin
Bob Warren wrote: Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. get the mouseColor -- Richard Gaskin Managing Editor,

Re: Pixel Question

2006-03-23 Thread Richard Gaskin
Klaus Major wrote: Bob Warren wrote: Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. sorry this is not possible right

Re: Pixel Question

2006-03-23 Thread jbv
Hi Bob, Dear All, Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I have tried, but so far without success. Any ideas

Re: Pixel Question

2006-03-23 Thread Scott Rossi
Recently, Bob Warren wrote: Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I believe this function will retrieve the pixel

Re: Pixel Question

2006-03-23 Thread Bob Warren
JB wrote: Hi Bob, Dear All, Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I have tried, but so far without success.

Re: Pixel Question

2006-03-23 Thread Scott Rossi
Recently, jbv wrote: I believe this function will retrieve the pixel color of a pixel in any image using the X,Y position of the pixel as measured from the topleft of the image. great job Scott. Thanks. As long as it works. Most of the thanks go to Ken Ray for the way cool info about

Re: Pixel Question

2006-03-23 Thread Jim Ault
great job Scott. BTW I didn't know that chartonum also worked on binary data... JB Actually, it works on the imageData format for representing image pixel colors in Rev. from the docs... Each pixel is represented by 32 bits (4 bytes) of image data, with pixels numbered from the top left

Re: Pixel Question

2006-03-23 Thread Bob Warren
Recently, Scott Rossi wrote: Recently, Bob Warren wrote: Suppose I have 2 cards in a stack and I am moving the mouse over the top card (naturally). I want to know what colour is under the mouse pointer in a corresponding position on the 2nd card which is hidden underneath. I