Tryint to package anything related to PhantomJS is both courageous
and honourable! And probably futile. If you don't fear the Python,
try python{,3}-ghost:

import ghost
g = ghost.Ghost()
g.open("http://www.debian.org/";)
g.capture_to("debian.png")

If you prefer searchable PDF output and the shell, try wkhtmltopdf:

$ wkhtmltopdf --page-width 200mm http://www.debian.org debian.pdf

wkhtmltopdf is in squeeze, wheezy, jessie, and sid.
python{,3}-ghost is only available in sid.

AFAIK, neither tool does cropping, but you can do this with
"convert -trim" for PNGs or "pdfcrop" for PDFs.


--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150121144254.horde.osgmgxu0il4cxblpwtzb...@webmail.in-berlin.de

Reply via email to