Skip to main content
January 24, 2007
Question

Dynamically loaded images look colourless.

  • January 24, 2007
  • 1 reply
  • 130 views
Hi!

I'm working on a page that needs dynamic jpg loading. My problem is that all the pictures loaded from a folder (that is on server) look a litle desaturated or colourless. Black looks like gray and red is nod as red as it's in original picture. I can't figure out the reason. Is flash lowering the quality of dynamically loaded jpgs?

Im using forceSmoothing = true on MovieClip that loads images and loading is done by using instance of MovieClipLoader class. I have set JPEG quality to 100% in publish settings, didn't help. This problem is really driving me crazy. If you have some solution or idea why this desaturation is happening, please let me know.
This topic has been closed for replies.

1 reply

Inspiring
January 25, 2007
I'm not sure why the desaturating is happening. I'd check to see if its local. (ie- try your .swf on other monitors/computers).

A fix (of sorts) would be to use the colorMatrix class. I believe Kirupa.com has a good tutorial on how it all works. Sadly, I don't have the time to run and link it right now, but the colorMatrix (it might actually be called a variant of that) class takes a bitmap, and messes with it pixel by pixel. --IE you can up contrast, saturation, filter colors, etc.

Really, that is a "solution", but colorMatrix is also taxing on flashplayer, so if you try to animate an image running that filter, its gonna bog you down (unless its small)

HH