You are not logged in.

#1 2009-07-08 23:36:02

b4283
Member
Registered: 2008-11-26
Posts: 123

[SOLVED] Firefox with errornous JPEG images

just found out that firefox 3 has all JPEG images rendered wrong
the hue of the images are sometimes wrong (more blue or green, or even unregconizable)
i wonder it's the problem from the new libjpeg but i can't really fall back on it,
because there's so many other packages depend on it.

does anyone has the same problem ?

Last edited by b4283 (2009-07-18 23:45:46)

Offline

#2 2009-07-09 19:44:36

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] Firefox with errornous JPEG images

Worksforme, which version of firefox do you use ? firefox 3.5 or earlier ? And can you show a wrong image ?

Offline

#3 2009-07-09 20:22:05

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Firefox with errornous JPEG images

all jpeg? Please post a link to any of these jpeg.

are you on i686 or x86_64 ?

Offline

#4 2009-07-10 14:49:51

b4283
Member
Registered: 2008-11-26
Posts: 123

Re: [SOLVED] Firefox with errornous JPEG images

just some examples, compares with the same file shown in Mirage:

(the image is somehow big so I choose not to show it directly, please follow the link)
http://h.imagehost.org/0961/1_2.jpg
http://h.imagehost.org/0095/2.jpg

Last edited by b4283 (2009-07-10 14:50:14)

Offline

#5 2009-07-10 21:30:41

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [SOLVED] Firefox with errornous JPEG images

http://komica34.dreamhosters.com/04/src … 973207.jpg displays as the brown tinged image for me in FF 3.5

Offline

#6 2009-07-10 22:08:45

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Firefox with errornous JPEG images

The image looks good here. Tested on:

My native machine (i686 and x86_64).
VirtualBox (i686 and x86_64)

Here is an screenshot [#1]:

Left FF is with libjpeg7 (chroot) (i686)
Right FF is with libjpeg6 (i686)

[#1] http://archlinux.djgera.com.ar/probeta/ … -jpeg7.png

Offline

#7 2009-07-11 07:03:59

b4283
Member
Registered: 2008-11-26
Posts: 123

Re: [SOLVED] Firefox with errornous JPEG images

ok, that's just weird for me.
can anyone give a good reason my image is broken in firefox ?

*update: I just killed everything under ~/.mozilla and start with a new profile, the result is the same.

Last edited by b4283 (2009-07-11 07:13:32)

Offline

#8 2009-07-11 15:54:56

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Firefox with errornous JPEG images

That image is brown in GIMP, feh, FF, Inkscape, and everything webkit here. Basically my entire system sees the brown image.

Offline

#9 2009-07-11 16:11:31

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: [SOLVED] Firefox with errornous JPEG images

probably less likely than something to do with the new libjpeg, but Firefox does have color management so maybe something is funky there.

Offline

#10 2009-07-12 14:59:11

b4283
Member
Registered: 2008-11-26
Posts: 123

Re: [SOLVED] Firefox with errornous JPEG images

but it were some color profiling went wrong, then all images in firefox should be affected altogether.

in my case, broken image only happens occasionally on some specific images.
since everybody else's firefox is working okay, I don't really know what to do now... perhaps, it has something to do with catalyst ?

Offline

#11 2009-07-12 20:01:51

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Firefox with errornous JPEG images

Can you try to start X with the "vesa" driver?

Offline

#12 2009-07-13 13:59:12

b4283
Member
Registered: 2008-11-26
Posts: 123

Re: [SOLVED] Firefox with errornous JPEG images

I can't believe this, it is really fglrx that's messing with me.

Starting X with "vesa" module worked like a charm, seeing the brown image.

Offline

#13 2009-07-14 06:24:04

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: [SOLVED] Firefox with errornous JPEG images

Firefox color profiling support is buggy and may result in wrong color profile in some images. Disable it in about:config and check if it helps.


Proud ex-maintainer of firefox-pgo

Offline

#14 2009-07-15 05:04:46

b4283
Member
Registered: 2008-11-26
Posts: 123

Re: [SOLVED] Firefox with errornous JPEG images

blesse: thanks for the bip, it helped big time.

btw, for those who has the same problem,
the options in about:config has a prefix of "gfx.color_management"
change the mode to "0".

Offline

#15 2009-08-20 01:29:51

Joshmotron
Member
Registered: 2009-03-04
Posts: 21

Re: [SOLVED] Firefox with errornous JPEG images

Just tossing this out there: I had the same problem, Blasse's method worked also.

Offline

Board footer

Powered by FluxBB