Shifting RGB
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Jun 16 13:37:22 EDT 2008
Hi Mark,
Photoshop's colour profile is at fault. Try to save the pictures
without colour profile.
You might also change the gamma property in your stack, before loading
the PNG file.
Note that in 2.8.1, the answer color command is incorrect. If you use
this to check the colours of the imported PNG picture, the returned
values may be deceptive.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 16 jun 2008, at 19:26, Mark Greenberg wrote:
> I'm writing a stack that has an image whose RGB values need to be
> exact. The program does hundreds of different things based on the
> RGB values of the color under the mouse pointer, so if the color
> changes, the program doesn't work.
>
> I create the image in PhotoShop and then bring it into Rev as an
> image object (.png). But in Rev the RGB values are different,
> darker by a non-constant amount.
>
> I tried flood-filling the colored areas in Revolution, but that
> produced unacceptable results.
>
> Why don't the RGB values remain intact in Rev? and what can I do to
> get around this problem?
>
> Thanks in advance,
>
> Mark Greenberg
More information about the use-livecode
mailing list