Search found 2 matches

by leom
2013-06-11T08:15:20-07:00
Forum: Users
Topic: php re-process image with slightest loss for sanitation
Replies: 4
Views: 5079

Re: php re-process image with slightest loss for sanitation

I think he wants to use Imagick GreenKoopa and not Imagemagick with the command line. Imagick has a limited amount of options and it looks like resizing by percent is not one of them. correct! <?php $input = 'input.jpg'; $size = getimagesize( $input); $width = $size[0]; $height = $size[1]; $im ...
by leom
2013-06-07T04:29:18-07:00
Forum: Users
Topic: php re-process image with slightest loss for sanitation
Replies: 4
Views: 5079

php re-process image with slightest loss for sanitation

Hi, I'm creating an image upload for users with php. I'd like the uploaded images to be re-processed by imagick in order to sanitize them from malicious code and to validate them as actual images and to get rid of EXIF data. I was looking for a imagick function that scales or resizes the image to ...