kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
536 stars 63 forks source link

quit when extension name not match file type #79

Open ImN1 opened 6 years ago

ImN1 commented 6 years ago

windows 10 with quickviewer 1.0.7/1.1.0 some filetype:gifs named as .jpg quickviewer autoexit without any message but, when i change their ext name from .jpg to .gif, quickviewer works fine.

and also png->.jpg black screen tiff->.jpg ... i think quickviewer needs a filetype check function.

kanryu commented 6 years ago

QuickViewer is designed on the assumption that image files and archive files have correct extensions.

Especially JPEG files are specially implemented for faster loading, the first judgment is made as to whether the extension is .jpeg .jpg or not.

SuperUserNameMan commented 4 years ago

i think quickviewer needs a filetype check function.

IrfanView does that, and also proposes to rename the file with correct extension.

kanryu commented 4 years ago

Qt, which QuickViewer is based on, does not have a function to determine the format of an image file. So if you take your proposal, we will need to find and incorporate a new library that determines the format of the image files.