Is there support for generating a bmp or jpg of a given web page?
If not does anyone have a suggestion on how to accomplish this feat. The C++ code I'm working with has limited access to the application(it's in a dll), so I don't have access to the window handle, so a lot of the examples I've found on the web aren't really helpfull.
TIA, Scott
html -> bmp, or jpg?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: html -> bmp, or jpg?
Have a look at this link tomorrow (after the latest IM Example update have uploaded)
http://www.imagemagick.org/Usage/script ... ebpages.sh
this script was published some time ago to take a snapshot of web pages as they appear in a browser, which is typically run in a clean 'virtual X server'. Only the top part of a page can be captured automatically in this way, but that may be all you want.
I provide it AS IS, but if you have any feedback about it. Please let me (and others in the forum) know.
http://www.imagemagick.org/Usage/script ... ebpages.sh
this script was published some time ago to take a snapshot of web pages as they appear in a browser, which is typically run in a clean 'virtual X server'. Only the top part of a page can be captured automatically in this way, but that may be all you want.
I provide it AS IS, but if you have any feedback about it. Please let me (and others in the forum) know.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: html -> bmp, or jpg?
I'm not getting to a web page when I click on that link. Is the link correct? or do I not have access to the page?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: html -> bmp, or jpg?
Sorry, had to move it to make it publishlly available. And IM examples take a bit of time to pass the updates to the main IM web site.
It is now available.
It is now available.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/