On Jul 13, 2012, at 9:11 AM, Colin Holgate wrote:
> One exercise in that book I wrote is about using an image as a color picker.
> It uses the same technique as Scott mentioned, only I then set the color of
> another graphic to show that it has picked up the right color.
>
> One thing to double
On Fri, Jul 13, 2012 at 6:11 AM, Colin Holgate wrote:
> One exercise in that book I wrote is about using an image as a color
> picker. It uses the same technique as Scott mentioned, only I then set the
> color of another graphic to show that it has picked up the right color.
>
That's exactly wha
One exercise in that book I wrote is about using an image as a color picker. It
uses the same technique as Scott mentioned, only I then set the color of
another graphic to show that it has picked up the right color.
One thing to double check, the x and y values you're using, are those from the
I haven't had time to pursue any of this yet, but do you think the gamma
would explain why I'm getting different values with Scott's routine versus
the built-in mouseColor function? Btw, I'm using an imported image that I
haven't modified in any way.
This is all so I can build my own color picker
Ah, I see. Thanks for the clarification. I've been putting on switching to
Lion for as long as possible so I haven't seen that problem. I guess I'll
have to bite the bullet with Mountain Lion though.
On Thu, Jul 12, 2012 at 4:56 PM, Scott Rossi wrote:
> Recently, Howard Bornstein wrote:
>
> >> I
Recently, Howard Bornstein wrote:
>> It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently
>> it has been fixed on Lion which is a huge relief).
>>
> I don't understand this because you are comparing IOS and Lion. MouseColor
> already works fine in OSX. Do you mean that if you
If you're working with an imported or referenced image, it would probably
better to strip the gamma from the source image all together, using
something like ColorSync Utility or similar -- as mentioned by Tim Bobo --
rather than changing the gamma of the screen. But if you're working with a
snapsh
Try this line before doing the snapshot:
set the screengamma to 2.23
LiveCode changes the values in image data depending on the color settings of
the screen, and doing a snapshot of the card's graphics is likely to lead to
different data.
On Jul 12, 2012, at 7:23 PM, Howard Bornstein wrote:
On Thu, Jul 12, 2012 at 3:18 PM, Scott Rossi wrote:
> Hi Howard:
>
> It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently
> it
> has been fixed on Lion which is a huge relief).
>
I don't understand this because you are comparing IOS and Lion. MouseColor
already works fine in
Hi Howard:
It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently it
has been fixed on Lion which is a huge relief).
That said, if you can work with an image as your color source (ie import a
snapshot if needed), you can use the following function as a workaround
(watch wrap):
I'm designing a an IOS app that makes extensive use of determining "the
mousecolor". Everything is working fine in my stack, but when I port it to
the simulator (or create the IOS app), the mousecolor only returns 0,0,0
regardless of where the mouse is.
I found some early posts from last year disc
11 matches
Mail list logo