Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VERY slow resizing in 2.10.14
#1
I often have a photo image, in Gimp, size of up to 5000 x 4000 pxs & maybe 50 or more undo histories, and 20 layers. The image is maybe 600 GB.  I FLATTEN the image & delete the undo history, & size is now 58.8GB. When I try to resize the flattened image (to 1800 pxs longest size), the status bar will quickly go 2/3 of the way across the bar and then stop. Then I have to wait often 5 minutes for it to finish resizing. I have 64bit op. system, & tile cache is set to 6GB in Gimp. I have the dashboard open on my toolbox, and it shows no excess or limit when this problem happens. I just have to wait a long long time for it to resize.  If I SAVE me flattened image first as an XCF then close the image from Gimp, then reload the flattened 58.8 GB image into Gimp, then resize it, it resizes quickly. Its as if the long time resize is trying to resize all the 20 layers, even though I flattened it. I didn't have this problem before I upgraded to 2.10.14 a month or so back. 
      Can any one help?
Reply
#2
How much memory is it when you reload? 58GB for a 20Mpix image is quite a lot, when I load an image from my 20Mpx camera the image is 750M (converted to 32-bit FP...). And after copying/pasting layers, i get up to 3.6GB, flattening the image take me up to 4.8GB, but deleting the undo history bring the image back to the initial 750MB. When you image is bigger than the tile cache size Gimp starts swapping to disk and this can slow down things tremendously.
Reply
#3
(02-14-2020, 06:10 PM)daiappy Wrote: I often have a photo image, in Gimp, size of up to 5000 x 4000 pxs & maybe 50 or more undo histories, and 20 layers. The image is maybe 600 GB.  I FLATTEN the image & delete the undo history, & size is now 58.8GB. When I try to resize the flattened image (to 1800 pxs longest size), the status bar will quickly go 2/3 of the way across the bar and then stop. Then I have to wait often 5 minutes for it to finish resizing. I have 64bit op. system, & tile cache is set to 6GB in Gimp. I have the dashboard open on my toolbox, and it shows no excess or limit when this problem happens. I just have to wait a long long time for it to resize.  If I SAVE me flattened image first as an XCF then close the image from Gimp, then reload the flattened 58.8 GB image into Gimp, then resize it, it resizes quickly. Its as if the long time resize is trying to resize all the 20 layers, even though I flattened it. I didn't have this problem before I upgraded to 2.10.14 a month or so back. 
      Can any one help?

   Probably the quality of interpolation in the 'Scale Image' function changed from 'Linear' to 'Cubic' or '**Halo' one.  Recently, my GIMP 2.10.10 started doing that on its own after a recent upgrade to Windows 10, Ver, 22H2, Built 19045.5737 for unknown reason forcing to take a look at the issue.  Unfortunately, after the interpolation is changed manually to 'Linear' and GIMP is closed, 'Cubic' comes back as a default after restarting GIMP.  It has to be changed manually every time after closing GIMP.
Reply
#4
(11 hours ago)Gene Wrote:    Probably the quality of interpolation in the 'Scale Image' function changed from 'Linear' to 'Cubic' or '**Halo' one.  Recently, my GIMP 2.10.10 started doing that on its own after a recent upgrade to Windows 10, Ver, 22H2, Built 19045.5737 for unknown reason forcing to take a look at the issue.  Unfortunately, after the interpolation is changed manually to 'Linear' and GIMP is closed, 'Cubic' comes back as a default after restarting GIMP.  It has to be changed manually every time after closing GIMP.

You set the default interpolation in Edit -> Preferences

   

If it returns to Cubic ,   then use the  Save tool Options Now after choosing the interpolation option.
...followed by the Save Now option in the Input Devices section (A strange requirement but necessary)
Reply


Forum Jump: