Is there some script (better if php), which can do some operations like?
- resizing
- reduce/increase lightness
- change contrast
- change quality
Or some api’s, which can help.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For most things I use PHP’s
imageXXXX()functions; they’re portable, and pretty much every PHP install I’ve come across has them available.For more advanced needs, consider using ImageMagick or some other scriptable image processing; if it doesn’t come with a PHP interface, or you cannot install the required extensions, you can always ‘shell out’.
Also, caching the processed images is probably a good idea in most situations, unless the output is different every time.