Welcome Guest, Not a member yet? Register   Sign In
Fit image within certain size?
#1

[eluser]dallen33[/eluser]
I'm using the image manipulating class, which is great if you want to do simple resizing. But I want to fit an image within a certain size. I want it to just center the image within.

So if I have a 1000x1000 image, I want it to fit/scale within 200x300. How can I accomplish this? It doesn't seem to be built into the image manipulation library.




Theme © iAndrew 2016 - Forum software by © MyBB