linuxmint / xviewer

A generic Image viewer
GNU General Public License v2.0
75 stars 37 forks source link

Cannot open files with wrong extension #104

Closed JulianGro closed 3 years ago

JulianGro commented 4 years ago
 * Xviewer version 2.4.3
 * Distribution - Linux Mint 19.3 Cinnamon

Issue Xviewer is unable to open files that have a wrong file extension. for example, when a JPEG file has a .png file extension, it will just show the error "Not a PNG file" rather than just opening it.

Steps to reproduce

Expected behaviour Xviewer should see that it is a JPEG file and should just open it.

Other information While the file extension should never be wrong, I have encountered a lot of JPEG files named PNG. I assume this might be people changing the file extension when saving a file and their application saving it as a different file type anyways.

svastian99 commented 4 years ago

The same thing happens to me ... webp files named jpg.

programmer-ceds commented 3 years ago

Following the merging of PR #123 this issue can be closed now.