derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.51k stars 159 forks source link

feh fails for massive images #471

Open TerminalMan opened 5 years ago

TerminalMan commented 5 years ago

An old issue, that seems to have resurfaced.

https://github.com/derf/feh/issues/9

When opening a bigger file, feh crashs without a detailed error message. I believe the issue is related to the max pixel count not the X or Y value. The issue starts around 1000(w) x 32900(h) in my case.

I don't think the Imlib2 if(!IMAGE_DIMENSIONS_OK(...)) is the culprit here because the max size defined there is significanly above 32.9MPx. (536MPx)

feh version 3.1.3
Compile-time switches: curl exif help stat64 verscmp xinerama

Error:

feh WARNING: Documents/test.png - No Imlib2 loader for that file format
feh: No loadable images specified.
montvid commented 4 years ago

Same problem, can't open https://mars.nasa.gov/bin/panos/PIA23623.tif with feh compiled from the homepage. It does load https://mars.nasa.gov/system/downloadable_items/44642_PIA23623_M34.tif

feh version 3.3
Compile-time switches: curl verscmp xinerama
feh WARNING: PIA23623.tif - No Imlib2 loader for that file format
feh: No loadable images specified.
See 'man feh' for detailed usage information
bgkillas commented 3 years ago

this was reported and it seems no one is fixing it https://phab.enlightenment.org/T6748