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 Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/350040

Title:
  Image viewer will not read .bmp images

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to