I am a newcommer in Imagemagick. So I have a little problem.
With the script
Code: Select all
<?php
exec('convert -units PixelsPerInch -density 300x300 -quality 98 -colorspace RGB -alpha remove -resize 40% -sharpen 0x0.8 "test.pdf" "test.jpg"');
?>
Now I will capture the screen from my browser. So I have programmed
Code: Select all
<?php
exec('import screenshot.png');
?>
Code: Select all
<?php
exec('magick import screenshot.png');
?>
Code: Select all
Array
(
[0] => Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
[1] => Copyright: © 1999-2017 ImageMagick Studio LLC
[2] => License: http://www.imagemagick.org/script/license.php
[3] => Features: Cipher DPC Modules OpenMP
[4] => Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
)
Thank you )