quickviewer icon indicating copy to clipboard operation
quickviewer copied to clipboard

quit when extension name not match file type

Open ImN1 opened this issue 7 years ago • 3 comments

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.

ImN1 avatar Jun 08 '18 02:06 ImN1

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.

kanryu avatar Jun 08 '18 03:06 kanryu

i think quickviewer needs a filetype check function.

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

SuperUserNameMan avatar Jan 15 '20 15:01 SuperUserNameMan

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.

kanryu avatar Jan 15 '20 16:01 kanryu