hello everybody, i've a trouble with getPixel.
if fill the stage with shapes that have the follow color

rgb(255, 000, 000) --> red
rgb(000, 255, 000) --> green
rgb(000, 000, 255) --> blu

than i copy some shapes on the stage with fill (o simple drag on the stage
cast member that have these parameters).
when i try to read the color of pixel on the stage with getPixel, as in
follow

on mouseUp 
  put (the stage).image.getPixel(the mouseLoc)
end

i've these result

instead of rgb(255, 000, 000) getPixel return rgb(248, 000, 000)
   "       rgb(000, 255, 000)    "        "   rgb(000, 248, 000)
   "       rgb(000, 000, 255)    "        "   rgb(000, 000, 248)

and so on for every pure colors likes rgb(255, 255, 000) even rgb (255, 255,
255) --> white is return as rgb(248, 248, 248)

someone have a solution?

enjoy
puppetSprite

aka
Francesco Scarfato
lingo developer
Ritram srl
via Marconi 45/7
40010 Bentivoglio (BO)
tel +390516640932
fax +390516640938
www.ritram.it

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to