Gimp-Forum.net
Gimp crashes when scaling images - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Gimp crashes when scaling images (/Thread-Gimp-crashes-when-scaling-images)



Gimp crashes when scaling images - dcvas - 05-18-2022

Hi,

I have recently found that when I scale down an image, Gimp stalls, becomes unresponsive and then I have to close it down.

Example of image size is 7360 x 4912 (9.13 MB) scaling down to 1080 x 1080. I've been using Gimp your the past 3 + years and have never come across this issue until recently. It's not my machine, everything works perfect in Inkscape etc...

Version 2.10.30 (downloaded from gimp.org)

Machine: PC Specialist, Windows 11 Pro, 16GB ram, 1TB SSD, Intel Core i7 11th generation, intel iRIS Xe graphics card.

Any help would be much appreciated ?


RE: Gimp crashes when scaling images - Ofnuts - 05-18-2022

9.3MB must be the JPEG file, not the image in RAM, which is more like 300MB once loaded (and likely over a gigabyte in high precision). Inkscape needs 24bytes per anchor in a path, so you would need a very complicated image to use 1MB for image data in Inkscape.

You can have a look at your process monitor (possibly a "Resources" tab) to see how much memory is in use when Gimp crashes.

Image precision and interpolation algorithm can also have an influence.


RE: Gimp crashes when scaling images - PixLab - 05-19-2022

Might be a third party software, I came recently to this thread > https://www.gimp-forum.net/Thread-Can-t-drag-and-drop-to-reorder-layers-fixed some people on windows got problem with GIMP while a third party software was opened.
Did you installed something recently?


RE: Gimp crashes when scaling images - Ofnuts - 05-19-2022

(05-19-2022, 05:19 AM)PixLab Wrote: Might be a third party software, I came recently to this thread > https://www.gimp-forum.net/Thread-Can-t-drag-and-drop-to-reorder-layers-fixed some people on windows got problem with GIMP while a third party software was opened.
Did you installed something recently?

Totally different thing, in the case you mention these are utilities interfering with the mouse events. The OP's problem is a plain old crash when the application does heavy computing.


RE: Gimp crashes when scaling images - dcvas - 05-19-2022

Hi all,

Thanks for all your replies, really appreciated it.

The problem only exists when I am downscaling very large images, so I now do this in Microsoft Paint of all things and it's done perfectly in a split second, so it seems it's defo some glitch with Gimp!


RE: Gimp crashes when scaling images - sallyanne - 05-19-2022

If this issue continues you may want to lodge a bug report here https://docs.gimp.org/2.10/en/gimp-bug-report.html
I don't work with images that large and do not have that problem. however people at https://pixls.us/ may, and they might beable to give you an inkling as to what is going on.


RE: Gimp crashes when scaling images - rich2005 - 05-19-2022

The problem really needs to be reproducible for sending off to the devs as a bug. Just tried a 7360x4912 jpeg (about 8 Mb file size) > 1080x1080 without a crash.

1) This laptop Linux kubuntu 20.04 Gimp 2.10.30 16 GB memory 500 GB ssd intel i5 intel graphics - using interpolation No-Halo and no crash

2) A Win 10 VM Gimp 2.10.30 a more modest 4 GB memory - using cubic interpolation this time - no crash.

Very easy to blame Gimp but more probably a local problem. Running out of resources. A hardware issue. Some user setting in the User profile.

Always useful to disable the Gimp profile and let Gimp make a default, then see if the problem re-occurs. Same with the image, try a different image (same size and format, although it seems all your large images ?) Open one image only, not multiple. Keep it simple. It is all about ruling out possibilities.


RE: Gimp crashes when scaling images - nicolasn - 01-31-2023

I have exactly the same issue using Gimp 2.10.30 on Windows 11 Home 64-bit with 16Gb of memory. These images are not that big, under 3000x3000 and RAM usage hardly increases at all.

It only freezes up though if I have done a crop to selection first. I can scale the entire image first, and then crop to the proportions I want, and that works fine.