html -> bmp, or jpg?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
fletch27502

html -> bmp, or jpg?

Post by fletch27502 »

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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: html -> bmp, or jpg?

Post by anthony »

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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
fletch27502

Re: html -> bmp, or jpg?

Post by fletch27502 »

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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: html -> bmp, or jpg?

Post by anthony »

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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply