It is currently Sun Sep 27, 2026 12:00 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: How do I resize images in GIMP?
PostPosted: Wed Nov 20, 2013 12:44 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 28, 2012
Posts: 3060
Location: Idk where I am.
GIMP Version: 2.8
Operating System: Windows
OS Version: 7
GIMP Experience: Intermediate Level



Hai...

Well I'm curious on how do I resize full images in GIMP?
I have to use my photo-viewer to resize images and I don't think when I resize it keeps transparency.
So I'm really curious how I would go about that in GIMP w/o using the scale tool which can make things more blurry than needed.

Thanks in advance!

~ God Bless ~

~ Moko

_________________
Image
Reality is a lovely place...But I wouldn't wanna live there.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Wed Nov 20, 2013 12:52 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
I use the scale tool to resize them down but to make them larger, they are going to be blurry.

_________________
Image


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Wed Nov 20, 2013 4:21 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Mokonafan wrote:
GIMP Version: 2.8
Operating System: Windows
OS Version: 7
GIMP Experience: Intermediate Level



Hai...

Well I'm curious on how do I resize full images in GIMP?
I have to use my photo-viewer to resize images and I don't think when I resize it keeps transparency.
So I'm really curious how I would go about that in GIMP w/o using the scale tool which can make things more blurry than needed.

Thanks in advance!

~ God Bless ~

~ Moko

To resize a full image use "Image/Scale image". Make sure the interpolation algorithm is set to "Sinc/Lanczos". Scaling up is always going to make them blurry. When scaling down:
- You can have artifacts due do "spatial frequency folding": moire patterns, jagged lines... this can be avoided by blurring the image by the scale factor before scaling down (ie, of you scale down 4x (or 25%), apply a Gaussian blur of 4px radius).
- After scaling down (with or without pre-blur), you can apply a bit of sharpening (Unsharp mask).

_________________
Image


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Wed Nov 20, 2013 4:25 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 28, 2012
Posts: 3060
Location: Idk where I am.
Will that crop the image?
I don't want it to be cut off just smaller. :3

_________________
Image
Reality is a lovely place...But I wouldn't wanna live there.


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Wed Nov 20, 2013 4:41 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
That won't crop it Moko. It'll just reduce the size.


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Thu Nov 21, 2013 9:44 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
ofnuts - Thanks for the tip on blurring prior to scaling.

_________________
Image


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Thu Nov 21, 2013 2:34 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
ofnuts wrote:
To resize a full image use "Image/Scale image". Make sure the interpolation algorithm is set to "Sinc/Lanczos".

I do not trust Sinc/Lanczos as it results in a corrupted alpha channel*, and this makes me skeptical of its handling of the other channels.

* To see this corruption in action, perform the following.
  • Start with any image and flatten it to a single layer.
  • Add an alpha channel.
  • Examine the histogram of the alpha channel to verify that all pixels have a value of "255".
  • Perform an image scale using Sinc/Lanczos (scaling up or down doesn't matter).
  • Examine the histogram of the alpha channel and note that somewhere between 30% and 50% of the pixels now have a value of "254".
  • If you transfer the alpha channel to a layermask and perform an auto normalize, you can see the pattern of pure white (255) versus off white (254) pixels that is produced.
    Attachment:
    sinc-alpha-anomaly.png
    sinc-alpha-anomaly.png [ 917 Bytes | Viewed 3904 times ]
While this is not a lot of error (<0.4%), it is disconcerting.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Thu Nov 21, 2013 6:00 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Actually it's the same problem if you scale a plain white image. The result is not plain white, but has the same pattern. But this show up only in very uniform areas.

_________________
Image


Top
 Post subject: Re: How do I resize images in GIMP?
PostPosted: Mon Nov 25, 2013 10:57 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 28, 2012
Posts: 3060
Location: Idk where I am.
Thank you for the help everyone! :3

_________________
Image
Reality is a lovely place...But I wouldn't wanna live there.


Top
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group