← Back to team overview

desktop-packages team mailing list archive

[Bug 837997] [NEW] eog fails to open JPEG image ending in '.png'

 

*** This bug is a duplicate of bug 172416 ***
    https://bugs.launchpad.net/bugs/172416

Public bug reported:

  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).

** Affects: eog (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: sladen-11.10-upgrade

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to eog in Ubuntu.
https://bugs.launchpad.net/bugs/837997

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

Status in “eog” package in Ubuntu:
  New

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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/837997/+subscriptions


Follow ups

References