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
rd 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
> > alread
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 fin
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. MouseC
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
to not the hilite of me
if the hilite of me then
set the cursor to cross
set the lockCursor to true
trackColor
end if
end mouseUp
command trackColor
If not the hilite of me then
set the lockCursor to false
exit trackColor
end if
get the mouseColor
et the lockCursor to true
set the backgroundcolor of graphic "Little" to the mousecolor
end Mousemove
on RawKeyDown thekey
set the backgroundcolor of graphic "Big" to the backgroundcolor of graphic
"Little"
pass RawKeyDown
end RawKeyDown
on CloseS
That seems wrong, like something else is going on. Mark S is right, going
across multiple monitors seems to fail, but you should be able to grab color
from anywhere on the screen, not just within LC windows.
Have you tried to make a simple test stack/script that only grabs the
mouseColor
i am on mac 10.7.2 where I see the problem
I just updated my PC to windows 7 and it seems to be working on that system,
but the cursor is constrained to only the livecode windows. Is there a way to
capture the mousecolor outside of the livecode windows? I am setting
lockcursor to true
On 1/7/12 4:57 PM, Scott Rossi wrote:
Mac 10.6.8
Maybe a Lion thing?...
That's a thought. I'm on Snow Leopard. It works there.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
__
On 1/7/12 4:42 PM, Michael Doub wrote:
Just to clarify, I am getting the seemingly random color data being
return from the mousecolor on 5.0.2 on an intel based mac.
I'm on 5.0.2 on an Intel iMac, it seems to be working here okay.
--
Jacqueline Landman Gay |
Mac 10.6.8
Maybe a Lion thing?...
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
Original message
Subject: Re: the mousecolor
From: Michael Doub
To: How to use LiveCode
CC:
I am using 5.0.2 on a mac.
Scott, are you using a PC?
-= Mike
On 2012-01
Just to clarify, I am getting the seemingly random color data being return
from the mousecolor on 5.0.2 on an intel based mac.
-= Mike
On 2012-01-07, at 4:42 PM, Michael Doub wrote:
> Does anyone know if "the mousecolor" feature is working properly in 5.0.0?
> I se
I am using 5.0.2 on a mac.
Scott, are you using a PC?
-= Mike
On 2012-01-07, at 4:42 PM, Michael Doub wrote:
> Does anyone know if "the mousecolor" feature is working properly in 5.0.0?
> I seem to be getting random data returning that is not even close to the
> c
Can you test in 5.0.2? I believe 5.0.0 has some minor display issues -- not
sure if the mouseColor is one of them, but it seems to be working correctly
here in 5.0.2
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
Recently, Michael Doub wrote:
> Does anyone know if &
: 50277553
Become our partner in sales http://qery.us/1bq Start selling Color Converter
today. 20% commission!
On 7 jan 2012, at 22:42, Michael Doub wrote:
> Does anyone know if "the mousecolor" feature is working properly in 5.0.0?
> I seem to be getting random data returning
Does anyone know if "the mousecolor" feature is working properly in 5.0.0?I
seem to be getting random data returning that is not even close to the color
being selected.
Any advice as to how to capture a color within a picture not using this feature
e LiveCode
> Betreff: Re: Can't pick the mousecolor with brush tool while mousedown
>
> the described behaviour is maybe not ideal, but it's how things are
supposed
> to work, so it's a lack of features, not a bug.
>
> If you want full control over the mouse,
repeat while the mouse is down
--wait with messages --uncomment if slow, allowing messages can help
--add check to disallow zebra stripes here
if the mousecolor is "255,255,255" then
set the brushcolor to black
else
set the brushcolor t
Hello,
I want to draw a line on an image with the brush tool. Depending on the
mousecolor I have to change the brushcolor to get a good contrast. Lets make
it easy with black and white. On the black parts of the image I want to draw
a white line and on the white parts of the image I want to draw
26 matches
Mail list logo