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.
Tutorial: Calculating for resizing images, etc.
Re: Tutorial: Calculating for resizing images, etc.
Good tut, but you can bypass all this by using an image editor like Photoshop or GIMP. 
Re: Tutorial: Calculating for resizing images, etc.
I normally use both, and indeed, it is easier. But I prefer MS Paint for some things.Destron wrote:Good tut, but you can bypass all this by using an image editor like Photoshop or GIMP.
Thanks.
- Agentarrow
- Posts: 1346
- Joined: Thu Jun 28, 2007 4:34 pm
- Location: Kyiv, Ukraine
- Contact:
Re: Tutorial: Calculating for resizing images, etc.
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.
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.
Last edited by Agentarrow on Tue Sep 02, 2008 5:47 am, edited 1 time in total.
AgentArrow Home
The greater good is but a point of view...
The greater good is but a point of view...
Re: Tutorial: Calculating for resizing images, etc.
Pretty unneccessary (wth I don't remember how to spell it lol) tutorial then...
Re: Tutorial: Calculating for resizing images, etc.
In MSPaint you can also just go to image>attributes and change the actual dimensions. 
Re: Tutorial: Calculating for resizing images, etc.
yes but that does not scale the image and therefore is useless... 
Everyone can see the difficult, but only the wise can see the simple.
-----
-----