Page 1 of 1

html -> bmp, or jpg?

Posted: 2007-04-04T10:07:53-07:00
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

Re: html -> bmp, or jpg?

Posted: 2007-04-04T16:33:39-07:00
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.

Re: html -> bmp, or jpg?

Posted: 2007-04-05T07:53:35-07:00
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?

Re: html -> bmp, or jpg?

Posted: 2007-04-06T04:22:19-07:00
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.