Images Miscolored

Scott Rossi scott at tactilemedia.com
Fri Dec 14 14:24:36 EST 2007


Recently, Mark Smith wrote:

> Here's a function that should strip the gamma-correction out of a
> file. I can't see any before and after difference in the files I've
> tried it on, but maybe it could help.

A great effort Mark, but in fact the script seems to shift the colors of
test images I tried over here even more out of whack. :-)

Not sure if you ever saw this but many months ago I posted an example stack
that shows imported PNGs with color shift present.

 go url "http://www.tactilemedia.com/download/colorshift.rev"

Depending on your monitor settings, the color difference may not be
apparent, but it is there (I recently swapped monitors and now the color
shift is less apparent even to me).  If you look closely at the boxes on the
left, you'll see they are slightly off color-wise (actual RGB values are
displayed for clarity).

As mentioned in a previous post, I went through more than half a dozen tools
claiming to remove the gamma data that causes this shift, and with my tests,
the only tool that was able to do anything was PngOptimizer.  I haven't put
Adobe CS3 apps to the test yet, but I've "heard" that the gamma color shift
is either fixed, or can be removed in the latest apps.  Who knows.

In any event, any further developments you try in this area are greatly
appreciated, as this is an issue that has plagued us folks using images for
a long time.  What would be really cool is to be able to export PNG data to
a variable within Rev and modify that, as opposed to having to export to an
external file (hint hint).

Thanks again for your efforts.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list