Just made the leap to Linux with Ubuntu 18.04 and am experiencing this
"bug" also.

My error was specifically as @cometdog mentioned with a BMP extension
with a PNG file signature (and data).

I can think of a lot of ways an image would have an incorrect extension.
It would be great if eog could do one (or more) of the following:

1. Open the image with a list of known (popular) image file signatures if it 
finds 'bogus header data'.
2. Warn the user that the image has a mismatching file signature and extension 
and suggest a correction.


If both of the above are not possible (or painful to implement) then I suggest 
the following:

Show the file signature along with the 'bogus header data' error message
as this would also immediately point to the issue without promising that
is the solution.

e.g.
BMP image has bogus header data (file signature: ".PNG....")
or even a more details button that shows this info would suffice IMO.


(apologies if this is in the wrong place, I realize it is an old report but I 
made an account solely for this and this is where I found my solution via 
google).

-- 
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/350040

Title:
  Image viewer will not read .bmp images

Status in eog package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: eog

  The default image viewer used to view .bmp images perfectly. In fact,
  just a few minutes ago, it worked perfectly. A friend sent me a .bmp
  file and I attempted to open it with the default image viewer in
  Ubuntu 8.10. Thought I'd looked at the same image less than 3 minutes
  prior, it now won't show the images, sending me an error that BMP
  image has bogus header data. This happens with every bitmap file I try
  to open now. I've checked it with the Gimp and they open perfectly.
  I've also tried them in F-Spot and they open perfectly. The only
  change happened when I was highlighting a folder full of .bmp images
  to delete. A menu opened at random just as I was releasing the mouse
  buttom, it highlighted the top option and I have no idea what happened
  from there but now .bmp images won't open, even ones that have been on
  my computer for the past 3 months. It's not a huge deal for me, but
  it's something that should be fixed.

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/eog
  NonfreeKernelModules: nvidia
  Package: eog 2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: eog
  Uname: Linux 2.6.27-11-generic i686

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to