How to print a x.html page with IM to image x.png with width 1000 pixel?
I want to print a html web page (e.g. D:\mypics\test\x.html) into a png picture file with width 1000 pixel (and height as much as necessary).
How can I do this with IM?
Ben
How to print a x.html page to image x.png with width=1000 pi
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to print a x.html page to image x.png with width=1000 pi
IM can do this, at least not directly. It will call packages to generate a raster image from the HTML.
the better way is to screen capture a browser window, and for that their are some rough and ready automatic tools that some people have used. however they are not simple and generally involve (on an linux system) starting a second X server, running a browser in it, getting the browser to display a page, capturing it using IM and cleaning up the resulting image, before getting the browser to move to the next page.
the better way is to screen capture a browser window, and for that their are some rough and ready automatic tools that some people have used. however they are not simple and generally involve (on an linux system) starting a second X server, running a browser in it, getting the browser to display a page, capturing it using IM and cleaning up the resulting image, before getting the browser to move to the next page.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/