Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scaling Issue
#1
Hi Everyone,

I used to scale up extremely small images (40 x 40px for example) to about 1200 x 1200px without any interpolation (interpolation method: "none"). This worked perfectly fine, producing .xcf files of <1MB in size. 

Recently I cannot make this work, as whenever I try, GIMP warns me that the resulting image will be over 2GB (!!!) in size which is above the max size I allow in options. The issue remains if I choose extremely low X & Y resolution (the image size would then be 700MB). 

Does any of you have any idea what could've changed and how to make this work again? My current version is 2.10.24.

Thank you!
Reply
#2
are you in 32 bit floating point?
To check go to Image / Precision -> select 8 bit if you're in 32 bit, size should go back to your normal use
Reply
#3
(09-20-2021, 03:32 PM)rpaddy Wrote: Hi Everyone,

I used to scale up extremely small images (40 x 40px for example) to about 1200 x 1200px without any interpolation (interpolation method: "none"). This worked perfectly fine, producing .xcf files of <1MB in size. 

Recently I cannot make this work, as whenever I try, GIMP warns me that the resulting image will be over 2GB (!!!) in size which is above the max size I allow in options. The issue remains if I choose extremely low X & Y resolution (the image size would then be 700MB). 

Does any of you have any idea what could've changed and how to make this work again? My current version is 2.10.24.

Thank you!

When I scale up a 40x40 single-layer image to 1200x1200 in 2.10.24, the result is 13.5MB. How many layers/channels have you got? What is the initial memory size, as reported in the status area (18.5KB for me).
Reply
#4
(09-20-2021, 04:23 PM)PixLab Wrote: are you in 32 bit floating point?
To check go to Image / Precision -> select 8 bit if you're in 32 bit, size should go back to your normal use

Thank you PixLab, yes I am (and was) in 8bit so this was not the problem

(09-20-2021, 04:33 PM)Ofnuts Wrote:
(09-20-2021, 03:32 PM)rpaddy Wrote: Hi Everyone,

I used to scale up extremely small images (40 x 40px for example) to about 1200 x 1200px without any interpolation (interpolation method: "none"). This worked perfectly fine, producing .xcf files of <1MB in size. 

Recently I cannot make this work, as whenever I try, GIMP warns me that the resulting image will be over 2GB (!!!) in size which is above the max size I allow in options. The issue remains if I choose extremely low X & Y resolution (the image size would then be 700MB). 

Does any of you have any idea what could've changed and how to make this work again? My current version is 2.10.24.

Thank you!

When I scale up a 40x40 single-layer image to 1200x1200 in 2.10.24, the result is 13.5MB. How many layers/channels have you got? What is the initial memory size, as reported in the status area (18.5KB for me).

I have 1 layer and 3 channels (red, green, blue). 

To clarify what I usually do:
- import .png file (1920x1080 mostly)
- crop it to small image, say 40x40
- scale it up to 1200x1200

Now, when I import the original .png, I see a size of 19.3MB in the status area (I attach screenshot to be sure we talk about the same thing) - this seems weird to me given the original .png is 950kb...

I crop this down to 51x52 image and see a size of 8.3MB.


Attached Files Thumbnail(s)
   
Image(s)
   
Reply
#5
(09-20-2021, 07:47 PM)rpaddy Wrote: To clarify what I usually do:
- import .png file (1920x1080 mostly)
- crop it to small image, say 40x40
- scale it up to 1200x1200

Now, when I import the original .png, I see a size of 19.3MB in the status area (I attach screenshot to be sure we talk about the same thing) - this seems weird to me given the original .png is 950kb...

I crop this down to 51x52 image and see a size of 8.3MB.

The Cropt tool behavior has changed recently, by default it doesn't delete the cropped pixels, it just makes the canvas smaller but the layers keep their initial content. So when you scale the 40 × 40 image 30x to 1200 × 1200, you are really scaling the initial image, so 1920 × 1080 becomes 57600 × 32400, almost 2Gpx.

In the Crop tool options, make sure that you check the "Delete cropped pixels" box. This tells you how you can make this permanent.
Reply
#6
(09-20-2021, 08:31 PM)Ofnuts Wrote:
(09-20-2021, 07:47 PM)rpaddy Wrote: To clarify what I usually do:
- import .png file (1920x1080 mostly)
- crop it to small image, say 40x40
- scale it up to 1200x1200

Now, when I import the original .png, I see a size of 19.3MB in the status area (I attach screenshot to be sure we talk about the same thing) - this seems weird to me given the original .png is 950kb...

I crop this down to 51x52 image and see a size of 8.3MB.

The Cropt tool behavior has changed recently, by default it doesn't delete the cropped pixels, it just makes the canvas smaller but the layers keep their initial content. So when you scale the 40 × 40 image 30x to 1200 × 1200, you are really scaling the initial image, so 1920 × 1080 becomes 57600 × 32400, almost 2Gpx.

In the Crop tool options, make sure that you check the "Delete cropped pixels" box. This tells you how you can make this permanent.

Thank you so much, it worked!!
Reply


Forum Jump: