Page 1 of 1

What is the equivalent of this command for PHP?

Posted: 2016-02-04T12:57:02-07:00
by krasho
Hello, my name is Jose Luis.

I have this command:

Code: Select all

convert P1020592.jpg -resize "600x" -unsharp 2x0.5+0.7+0 -quality 98 iseran_s.jpg

And I want to use it from PHP. I am using Imagick Library.

thanks

Re: What is the equivalent of this command for PHP?

Posted: 2016-02-04T13:59:18-07:00
by fmw42
You should be able to find equivalent commands at http://us3.php.net/manual/en/book.imagick.php

See:
resizeImage()
unsharpMaskImage()
setImageFormat()
setCompressionQuality