imagemagick - How can i take screenshot of URL or URL to PNG on Share Hosting server using PHP -


i getting issue taking screenshot of url using php

i tried imagemagick following code. no idea how can use it.

import -window root images/my1.png 

i replaced root "my url"

i run above command using exec in php, not give me output.

can give me suggestion on this.

i thankfull this.

thanks.

try using webkit2png or similar this:

webkit2png http:/google.com -o grab 

which give these files:

-rw-r--r--   1 mark  staff     14754 30 sep 18:46 grab-thumb.png -rw-r--r--   1 mark  staff     68830 30 sep 18:46 grab-full.png -rw-r--r--   1 mark  staff     13552 30 sep 18:46 grab-clipped.png 

enter image description here


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -