When I open eom and press left or right and the next image is large it crashes. The image is 6MB. This is the error I get
(eom:6584): Gtk-WARNING **: 14:19:55.020: drawing failure for widget 'EomWindow': out of memory
eom: ../../../../src/cairo-surface.c:930: cairo_surface_reference: La declaración `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' no se cumple.
Abortado (`core' generado)
So what kind of image is this? JPEG? PNG? TIFF? SVG?
What are the dimensions of this image?
If an SVG, is it a compressed SVG? How large would it be if you decompressed it:
zcat < '/replace/with/the/path/to/the/image' | wc -c
What version of Ubuntu MATE are you using? And is it a 32-bit release? Can you run a 64-bit release?
These are all questions that need to be answered in order for us to better help you. Thanks in advance.
It's a JPEG, 1800x44629 pixels. I'm on Ubuntu MATE 20.04.3 64-bit. It seems like the issue is caused by the system running out of RAM, but the image is only 6.2MB so something is going wrong.
Those dimensions are not a typo?!?
My calculations show that that image, when uncompressed (you must uncompress an image first in order to view it), would take up ~320 MB of RAM. I'd assume you have enough RAM for that, since this is a 64-bit system, clearly. So what's the problem?
I'm not sure yet. Try opening it up in the GIMP; you can install the GIMP using the command:
sudo apt install gimp
It's not a solution, but if the GIMP opens the image just fine (which it should), you can look at the bottom statusbar, which should tell you how big the image actually is when uncompressed. It should say something like:
[Layer x] (300 MB)
I'd just be interested to see how big the image is, when decompressed.
It's not a typo. I get images that tall every now and then. Opening it in GIMP shows it's 748.8MB and it doesn't crash. My system has 4GB RAM.