Search found 3 matches

by hatschi
2019-03-14T13:30:27-07:00
Forum: MagickWand for PHP
Topic: Screen capture failed
Replies: 4
Views: 119299

Re: Screen capture failed

Thank you for your answear. Actually, I need a script that save any web page as an image file. The page "screenshotmachine.com" offers an API file. This works too. But I would like to do that without an API.
by hatschi
2019-03-14T10:11:03-07:00
Forum: MagickWand for PHP
Topic: Screen capture failed
Replies: 4
Views: 119299

Re: Screen capture failed

The Domain works under Linux (Linux lc0 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 ). But I will make a screenshot from my Windows 10 Pro Computer. Sorry, but I couldn´t find the right syntax.


exec('magick screenshot: screenshot.png');


or


exec('screenshot: screenshot.png ...
by hatschi
2019-03-14T03:39:38-07:00
Forum: MagickWand for PHP
Topic: Screen capture failed
Replies: 4
Views: 119299

Screen capture failed

Hi,

I am a newcommer in Imagemagick. So I have a little problem.

With the script


<?php
exec('convert -units PixelsPerInch -density 300x300 -quality 98 -colorspace RGB -alpha remove -resize 40% -sharpen 0x0.8 "test.pdf" "test.jpg"');
?>


I can convert a PDF to JPEG.

Now I will capture the ...