Convert Page to Embedded Thumbnail Image?

  • Thread starter Thread starter clintonG
  • Start date Start date
clintonG said:
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...

Well, you have two options. One is to write a full html render and render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC, however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
I was hoping more along the lines of something I could handle
like a Response.Write ;-)

--
<%= Clinton Gallagher


Daniel O'Connell said:
clintonG said:
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...

Well, you have two options. One is to write a full html render and render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC, however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
clintonG said:
I was hoping more along the lines of something I could handle
like a Response.Write ;-)

Unfotunatly, I don't think so, ;).

There might be a way to do it with SVG or something, but I certainly don't
know enough about ti to help.
--
<%= Clinton Gallagher


Daniel O'Connell said:
message
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...

Well, you have two options. One is to write a full html render and render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC,
however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
I would do this by printing to a postscript printer redirected to a file,
and running ghostscript on the result to convert to a raster image. Not
all that simple, but straightforward enough.



clintonG said:
I was hoping more along the lines of something I could handle
like a Response.Write ;-)

Unfotunatly, I don't think so, ;).

There might be a way to do it with SVG or something, but I certainly don't
know enough about ti to help.
--
<%= Clinton Gallagher


Daniel O'Connell said:
message
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...


Well, you have two options. One is to write a full html render and render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC,
however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
Ross Presser said:
I would do this by printing to a postscript printer redirected to a file,
and running ghostscript on the result to convert to a raster image. Not
all that simple, but straightforward enough.

Printing programatically can be difficult, unfortunatly. I don't see any way
with IE's pritning mechanism to print to a given device. If you could print
to a given HDC you could just print directly to a HBITMAP, I believe.
message
I was hoping more along the lines of something I could handle
like a Response.Write ;-)

Unfotunatly, I don't think so, ;).

There might be a way to do it with SVG or something, but I certainly
don't
know enough about ti to help.
--
<%= Clinton Gallagher


message
message
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...


Well, you have two options. One is to write a full html render and
render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC,
however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is
KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
Its quite beyond me at the moment but fetching a page and displaying
it as an image in another page is very compelling to me.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/


Daniel O'Connell said:
Ross Presser said:
I would do this by printing to a postscript printer redirected to a file,
and running ghostscript on the result to convert to a raster image. Not
all that simple, but straightforward enough.

Printing programatically can be difficult, unfortunatly. I don't see any way
with IE's pritning mechanism to print to a given device. If you could print
to a given HDC you could just print directly to a HBITMAP, I believe.
message
I was hoping more along the lines of something I could handle
like a Response.Write ;-)


Unfotunatly, I don't think so, ;).

There might be a way to do it with SVG or something, but I certainly
don't
know enough about ti to help.
--
<%= Clinton Gallagher


message
message
The exampe at this site [1] displays exactly what I am seeking
to learn to do myself. Comments regarding a component or code
methodology would be appreciated...


Well, you have two options. One is to write a full html render and
render
the result to an image, or you *might* be able to do some lower level
programming and get IE or another browser to print to a given HDC,
however
I'm not having much luck finding any information on that.

The only HTML engine I can find that is terribly friendly about it is
KHTML,
which appears to have quite a few unix ties. You may be able to rip out
mozilla's rendering engine as well.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.whois.sc/microsoft.com
 
Back
Top