linuxmint / xviewer

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

Xviever does not show entire image for very wide panoramas #118

Closed zztob closed 3 years ago

zztob commented 4 years ago
 * Xviewer version (xviewer --version): 2.6.2
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...): Linux Mint Cinnamon 20

Issue While sorting my photos I came across several panoramas (very wide ones from Samsung S8) that xviewer would not show completely. The photo is cropped at the right hand side and shows a white area instead where still some parts of the image should be. See the screenshot below (Gimp on top, Xviewer below)

xviewer_panorama_issue

Steps to reproduce Simply open a very large (regarding pixel size) image. The issue is independent of window size (afaict) and zoom levels. I can provide example files if desired.

Expected behaviour Display the entire image.

Other information Other image viewers (eg gthumb) and programs (eg GIMP) are able to open the files and display them entirely. From the comparison of two photos where it happens I suspect that Xviewer cuts the content beyond 16384px width. Is this a built-in hard limit or can it be configured somewhere?

mtwebster commented 3 years ago

Can you link to an example image? Not that I doubt your result, it's just a policy that I test.

Thanks!

zztob commented 3 years ago

Here you go!

I had to reduce the quality quite substantially via GIMP to get below 10MB (export with JPEG quality 60%, original file size is 34MB). The issue persists with the new file, so it's independent of whatever GIMP does during the export. Thanks for taking care of this :)

big_panorama

programmer-ceds commented 3 years ago

This issue can now be closed