How do i resize image file to optional sizes

Posted by shuxer on Stack Overflow See other posts from Stack Overflow or by shuxer
Published on 2009-09-23T03:06:39Z Indexed on 2010/05/08 10:38 UTC
Read the original article Hit count: 266

Filed under:
|
|
|

Hi

I have image upload form, user attaches aimage file, and selects image size to resize the uploaded image file(200kb, 500kb, 1mb, 5mb, Original). Then my script needs to resize image file size based on user's optional size, but im not sure how to implement this feature,

For example, user uploads image with one 1mb size, and if user selects 200KB to resize, then my script should save it with 200kb size.

Does anyone know or have an experience on similar task ?

Thanks for you reply in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about image