Page 1 of 1

Tutorial: Calculating for resizing images, etc.

Posted: Fri Aug 22, 2008 8:03 pm
by Matte
Most of the RF users have probably learned this at school, but I would like to help those who are younger and/or did not learn this.
E.G.: I have a 50*50 image, but I need to resize it to 48*48. You can spend all your time trying out to resize it and pressing CTRL+Z at every failed attempt, but a much easier way is to use this formula:
50/100*x=48
'x' is the percentage we need to make our image "bigger". Well not really bigger, because in MS Paint, 100% is the current size, so 99% will make it 0.1 times smaller, while 101% will make it 1.01 times bigger.

If we calculate this: we get the following step:
x=48/50/100
This isn't really clear, so we can use the following rule: a/b/c equals a/b*c.
x=48/50*100

Because we have our 48/50*100, we can say that this equals 48*2:
x=48*2=96

If we resize our image by 96%, we now get a 48*48 size image.

I hope this helped, feel free to ask questions.

Re: Tutorial: Calculating for resizing images, etc.

Posted: Fri Aug 22, 2008 8:11 pm
by Destron
Good tut, but you can bypass all this by using an image editor like Photoshop or GIMP. :)

Re: Tutorial: Calculating for resizing images, etc.

Posted: Sat Aug 23, 2008 1:16 pm
by Matte
Destron wrote:Good tut, but you can bypass all this by using an image editor like Photoshop or GIMP. :)
I normally use both, and indeed, it is easier. But I prefer MS Paint for some things.
Thanks.

Re: Tutorial: Calculating for resizing images, etc.

Posted: Sat Aug 30, 2008 8:25 pm
by Agentarrow
HP image zone has a resizer. It does it all for you, you hit "keep current Scale" and choose your side value. or if it isn't a square image (as in having a 128x130 image) you can just uncheck the box and type in the needed dimensions.

RF also comes with the image resizer where you put in the image and choose the proper size, though that only does powers of two.

Re: Tutorial: Calculating for resizing images, etc.

Posted: Sat Aug 30, 2008 8:59 pm
by Matte
Pretty unneccessary (wth I don't remember how to spell it lol) tutorial then...

Re: Tutorial: Calculating for resizing images, etc.

Posted: Sat Aug 30, 2008 11:50 pm
by Destron
In MSPaint you can also just go to image>attributes and change the actual dimensions. :lol:

Re: Tutorial: Calculating for resizing images, etc.

Posted: Sun Aug 31, 2008 1:16 am
by Jay
yes but that does not scale the image and therefore is useless... :wink: