Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PNG Image rendering

0 views
Skip to first unread message

PyrO_PrOfessOr

unread,
Jun 28, 2009, 3:18:47 PM6/28/09
to
Great work on 3.5! Been using it for months and really impressed at
how the work has progressed!

I have noticed one issue though while I was developing my blog.
Firefox seems to render my PNG images wrong. I have a background
colour of #555555 and a PNG image that is meant to blend in with it. I
used photoshop to create and save the file and coloured it the same.
However firefox seems to render the image as #434343 - IE*, Safari 4
and Firefox 3.0.x seem to render the files OK, however 3.5 on both OSX
and Windows render the image wrong.

Any ideas on this? Is it a know issue? The problem does occur with GIF
images - only PNG. I'm worried as I planed to use a large amount of
PNG files on the site and can't use GIF for most of them
(transparencies etc).

Boris Zbarsky

unread,
Jun 28, 2009, 3:47:08 PM6/28/09
to
PyrO_PrOfessOr wrote:
> I have noticed one issue though while I was developing my blog.
> Firefox seems to render my PNG images wrong. I have a background
> colour of #555555 and a PNG image that is meant to blend in with it. I
> used photoshop to create and save the file and coloured it the same.
> However firefox seems to render the image as #434343 - IE*, Safari 4
> and Firefox 3.0.x seem to render the files OK, however 3.5 on both OSX
> and Windows render the image wrong.

Does setting the "gfx.color_management.mode" preference to 0 help?

If so, note http://hsivonen.iki.fi/png-gamma/ for some fun details.

-Boris

Dave Townsend

unread,
Jun 28, 2009, 3:47:14 PM6/28/09
to

Perhaps you have accidentally included a color profile in the image:
http://hacks.mozilla.org/2009/06/color-correction/

PyrO_PrOfessOr

unread,
Jun 29, 2009, 6:53:06 AM6/29/09
to

Thanks for all the help. One way or the other I have managed to fix
it, and I'll look into it in more detail. Thanks to both of your for
your very helpful replies!

PyrO_PrOfessOr

unread,
Jun 29, 2009, 8:45:05 AM6/29/09
to

OK, While the Mac issue seems to have sorted itself out (possibly due
to colour profile change) The windows issue hasn't. I tried changing
the gfx_management_mode to 0 but it had no effect. I'll double check
over my images to make sure I haven't embedded an adobe colour profile
into it....

0 new messages