Re: Newbie suggestion required: WebKit thumbnail generation
Re: Newbie suggestion required: WebKit thumbnail generation
- Subject: Re: Newbie suggestion required: WebKit thumbnail generation
- From: Frederick Cheung <email@hidden>
- Date: Tue, 14 Sep 2004 01:16:01 +0200
On 14 Sep 2004, at 00:31, Giulio Cesare Solaroli wrote:
Hi everybody.
I would like to write a tool that, taken an url, could save the
"thumbnail" of the loaded page in jpeg (or any other bitmap format).
I think the starting point should be the WebView class.
But, once I have a full loaded WebView instance, what is the best path
to get a bitmap of the rendered page?
Should I take the "print" path (using NSPrintOperation and the like)?
I am willing to read through the reference, but as they are quite
huge, some suggestions to focus on the more relevant topics would be
very welcome.
Use NSView's dataWithPDFInsideRect:
You can use this data to create an NSImage.
Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden