GNOME Bugzilla – Bug 709908
EOG fails displaying large images
Last modified: 2021-06-19 08:46:07 UTC
EOG does not display the following image: https://os.inf.tu-dresden.de/~doebel/pics/eog-large.png $> uname -a Linux gloin 3.11.2 #1 SMP Sun Sep 29 12:04:49 CEST 2013 x86_64 GNU/Linux $> eog --version GNOME Image Viewer 3.8.2 $> eog eog-large.png (eog:8757): Gtk-WARNING **: drawing failure for widget `GtkDrawingArea': invalid value (typically too big) for the size of the input (surface, pattern, etc.)
Which other images did you test with?
Created attachment 257016 [details] Python script to generate test files.
I stumbled across the issue when generating visualizations of some measurements I did. Those visualizations look like https://os.inf.tu-dresden.de/~doebel/pics/eog-good.png (which btw. works in eog). I then figured that eog fails displaying the images if they get too wide. I wrote the attached script to generate test images. Usage is $> ./img.py <width> && eog out.png On my machine eog fails to load the image if width >= 32758 (2^14?).
Tested the generator further. The issue also happens with image height set to >= 32758.
Created attachment 257017 [details] Python script to generate test files. Usage: $> ./img.py <width> <height> && eog out.png
32k is currently the limit eog can open. I was told it's a libcairo limitation: bug 672990 comment 2. But I am not sure how to work around it though.
*** Bug 709881 has been marked as a duplicate of this bug. ***
*** Bug 711215 has been marked as a duplicate of this bug. ***
The 7900 x 9750 PNG available at the download link on this page (80MB) http://viwrastupr.deviantart.com/art/My-Little-Pony-Friendship-is-Magic-667085058 fails to load. It also causes the desktop to stutter and momentarily hang.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/eog/-/issues/ Thank you for your understanding and your help.