LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-02-2011, 09:51 AM   #1
DoubleDiode
LQ Newbie
 
Registered: Apr 2008
Location: Somerset, UK
Distribution: Debian, Raspbian, Centos
Posts: 6

Rep: Reputation: 0
Incorrect Colours in PNG graphics using Firefox and DVI output


Hi,

I have an issue where under certain circumstances images containing yellow or close hues appear bright pink instead.

For this to happen ALL 3 of the following must be true:

1. The image must be a PNG with a yellow, orange or a colour close to that.
2. View the image using a gecko based program (Firefox, Thunderbird)
3. Connect the monitor (Samsung Syncmaster P2250) to the graphics card (GeForce 8400GS) using the DVI cable.

JPGs always display correctly, the VGA port on the same card is fine. I can even have Firefox and Epiphany side by side on the screen showing the same url and Epiphany is fine. I normally use Fedora, however with an Ubuntu live cd the images are still pink if all the three criteria are true.

I don't have any other monitors or graphics cards to try unfortunately. If it were hardware, then why is Epiphany ok, if it were software then why does changing the connection to VGA make a difference?

Does anyone have any ideas how I can resolve this?

Best Wishes

Doublediode
 
Old 05-02-2011, 11:06 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,833

Rep: Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709
that pink is possibly the Alpha channel
the transparent layer

open the offending png image in gimp and click
image / flatten image

then <control + s> to save the image

and see if that solves it
 
Old 05-02-2011, 11:28 AM   #3
DoubleDiode
LQ Newbie
 
Registered: Apr 2008
Location: Somerset, UK
Distribution: Debian, Raspbian, Centos
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
that pink is possibly the Alpha channel
the transparent layer

open the offending png image in gimp and click
image / flatten image

then <control + s> to save the image

and see if that solves it
Thanks for that John, I tried it but it did not solve the problem unfortunately. An example image is http://vinz.fedorapeople.org/fedorablogde.png here Tux has pink feet in my Firefox. The image does indeed have an alpha channel, but removing it in the way you described makes no difference.

I have also found my first JPG with incorrect colours. (No alpha in jpgs) In http://i.space.com/images/i/9359/i01...ete-conrad.jpg (url shortened for display only) the astronauts appear to be wearing green, but if I save the image to my desktop they are wearing the correct blue coloured clothes.

I could accept this as a bug in Gecko if it were not for the fact that swapping to the VGA output fixes the display.

DoubleDiode
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics: PNG (or whatever) to GIF (without losing quality) robbbert Linux - Software 5 03-28-2007 03:07 PM
convert image.png image.jpg changing colours MikeyCarter Linux - Software 1 11-17-2006 10:16 AM
Convert move frames (avi/dvi/etc) to images(png/jpg/etc) 3saul Linux - Software 1 03-05-2006 09:29 PM
DVI-D Output prj Linux - Hardware 0 02-10-2005 07:17 PM
Colours in directory listing and XMMS Output plugins Kristijan Linux - Newbie 3 02-22-2004 07:21 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration