• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie suggestion required: WebKit thumbnail generation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie suggestion required: WebKit thumbnail generation


  • Subject: Re: Newbie suggestion required: WebKit thumbnail generation
  • From: Giulio Cesare Solaroli <email@hidden>
  • Date: Tue, 14 Sep 2004 09:02:30 +0200

Thank you everybody for the suggestions.

Special thanks to James for pointing to some opensource code I will
dig-up immediatly! :-)

Giulio Cesare


On Mon, 13 Sep 2004 22:03:15 -0500, James B. Tuley <email@hidden> wrote:
>
> On Sep 13, 2004, at 8:13 PM, email@hidden wrote:
>
> > ------------------------------
> >
> > Message: 5
> > Date: Tue, 14 Sep 2004 00:31:31 +0200
> > From: Giulio Cesare Solaroli <email@hidden>
> > Subject: Newbie suggestion required: WebKit thumbnail generation
> > To: email@hidden
> > Message-ID: <email@hidden>
> > Content-Type: text/plain; charset=US-ASCII
> >
> > 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.
> >
> > Thanks in advance for any reply.
>
> In TrailBlazer (Open Source, BSD License) we mucked around a bit with
> making a nice thumbnail that represented a page. The problem with print
> is your going to get the entire page back and your going to have to
> crop it and thanks to the awesomeness of css you might get something
> back that looks really good on paper but doesn't look like your
> webpage. Ultimately we locked focus on the right component view of a
> WebView and initialized an NSBitmapRep from it.
>
> http://www.acm.uiuc.edu/macwarriors/projects/trailblazer
>   hint: look in the class "MyDocument.m" (yeah someone should have
> renamed it, but it was just a prototype)
>
> -Jay
> http://indyjt.com
>
>  _______________________________________________
> 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
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Newbie suggestion required: WebKit thumbnail generation
      • From: Giulio Cesare Solaroli <email@hidden>
References: 
 >Re: Newbie suggestion required: WebKit thumbnail generation (From: "James B. Tuley" <email@hidden>)

  • Prev by Date: Keys to be used with IORegistryEntrySearchCFProperty
  • Next by Date: Re: Newbie Connections Question - Sorry!
  • Previous by thread: Re: Newbie suggestion required: WebKit thumbnail generation
  • Next by thread: Re: Newbie suggestion required: WebKit thumbnail generation
  • Index(es):
    • Date
    • Thread