Hi All.
I've been trying to figure out a good way to get a thumbnail of a page,
more generally, for any URL. Essentially i want to be able to create an
icon (64x64 or less) of that URL to use in a GUI History project i'm
working on.
What options do i have?
Looking through the source (i'm still learning the details), i thought i
could grab the pixels from an nsDrawingSurface/nsRenderingContext but
haven't tried it yet. I thought i might also just create a new
implementation of this interface, something like nsDrawingSurfacePNG
which would pretend that PNG was another surface along with Windows and
GTK. It seems to me that this latter solution would cause a page to get
rendered twice, and might be too much for a simple thumbnail?
Any ideas or direction to a suitable implementation would be very
appreciated.
thanks,
christian.