image viewer: png vs gif
Posted
by
David Oneill
on Ask Ubuntu
See other posts from Ask Ubuntu
or by David Oneill
Published on 2011-03-04T21:10:56Z
Indexed on
2011/03/04
23:33 UTC
Read the original article
Hit count: 295
I have a bunch of files that have .png
extension. However, some of them are actually gif files. Any of the files, I can open them w/ gimp or view them in firefox, but when I try to open them with the Eye of Gnome viewer, it gives an error "Could not load image: Fatal error reading PNG image file: Not a PNG file"
Is there:
- Another image viewer that can open files with incorrect extensions that I could use as default? It would need to have the ability to zoom in and out on images, and scroll through all the images in a folder via arrow keys.
- An automated way to rename the files that are actually gif files to the correct extensions?
Choice 2 is preferred, but I don't now how to tell what type they are. I would be able to put together a bash script to do the renaming if there is a command that could tell me what type they are.
© Ask Ubuntu or respective owner