eog fails to open JPEG image ending in '.png'
Bug #837997 reported by
Paul Sladen
This bug report is a duplicate of:
Bug #172416: eog determines image type from filename.
Edit
Remove
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/
(this image is named like this for backwards compatibility reasons).
To post a comment you must log in.
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. wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://