PDA

View Full Version : img scale


rico1931
04-14-2009, 03:46 PM
Hello folks,

I was wondering if there is a way to dynamically scale img's. I'm almost sure that you have to do this in Java but I just wanted to make sure. I am trying to give users control of img's and say if they upload a img that is 100 x 100 and they want to img to be 50% they would just input 50% into a box and the code will run and scale the img to 50 x 50.

Here is the kicker tho the img pix size are being held in a sql table so the code would have to get the original size from the table and rescale accorind to orig img size.

-Thanks
-X

domedia
04-14-2009, 05:32 PM
Use something like Imagemagik on the server to remake the image.
That's all I can tell you. Like I tell my programmers; go find out how to use it 8)