eog fails to open JPEG image ending in '.png'

Bug #837997 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
New
Undecided
Unassigned

Bug Description

  1. Find a JPEG image
  2. Rename it to end in '.png'
  3. Open this image with eog.

What happens:

  "Could not load image '…'.
  Fatal error reading PNG image file: Not a PNG file

What should happen:

  The image should just load, based on the contents, not on the extension.

(Noticed when looking at the contents of the 'ubuntu-wallpapers' package:

  $ dpkg -L ubuntu-wallpapers | grep ubuntu.png | xargs file
  /usr/share/backgrounds/warty-final-ubuntu.png: JPEG image data, JFIF standard 1.02

(this image is named like this for backwards compatibility reasons).

Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #172416, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.