Capture NSWindow screenshot

Posted in Uncategorized on Mar 29, 2011

This weekend I was playing with some neat Core Animation and was looking into how to get an NSImage of a NSWindow. My first solution was to find out if someone already figured that part out and yes of course they did according to google. But the problem was all the examples never had the shadow of the window and I wanted the shadow. So I poked around the docs for some long hours and I came out with this after looking at SonOfGrab sample code.

Trackback URI | Comments RSS

11 Responses to “ Capture NSWindow screenshot ”

  1. # 1 coffee machines Says:

    Very efficiently written information. It will be supportive to anybody who utilizes it, as well as myself. Keep doing what you are doing – can’r wait to read more posts.

  2. # 2 you x tube Says:

    You completed certain good points there. I did a search on the subject and found mainly folks will go along with with your blog. Thank’s for you inform.

  3. # 3 Alexa Cotman Says:

    Remember what Tony Montana said?

  4. # 4 Jewell Vaccarella Says:

    Fine way of telling, and nice paragraph to get facts concerning my presentation subject matter, which i am going
    to deliver in university.

  5. # 5 vitiligo cure 2014 Says:

    Very good info. Lucky me I found your website by accident (stumbleupon). I’ve book marked it for later.

  6. # 6 Michael V. Hall Says:

    Thanks , I have recently been searching for info about this
    topic for a while and yours is the best I have discovered till now.

    However, what about the bottom line? Are you positive about the
    source?

  7. # 7 http://www.bridalteetees.com/ Says:

    I¡¦ve read some excellent stuff here. Definitely worth bookmarking for revisiting. I wonder how much attempt you set to create the sort of great informative site.

  8. # 8 Vocational Education Says:

    Hello there, I discovered your blog by the use of Google while looking for a similar matter, your web site got here up, it seems to be great. I’ve bookmarked it in my google bookmarks.

  9. # 9 disruptive technology Says:

    Hello, you used to write fantastic, but the last few posts have been kinda boring¡K I miss your great writings. Past several posts are just a little out of track! come on!

  10. # 10 plus.google.com Says:

    Hmm is anyone else having problems with the pictures
    on this blog loading? I’m trying to find out if its a problem on my
    end or if it’s the blog. Any responses would be greatly appreciated.

  11. # 11 bestdigitalcamera-2014.com Says:

    I do believe all of the ideas you’ve presented for your post.
    They are really convincing and will certainly work. Nonetheless, the posts are too quick
    for newbies. Could you please extend them a little from subsequent
    time? Thanks for the post.

Leave a Reply

  • Recent Comments

    • Vintage Dresses: A lot of thanks for each of your hard work on this web site. Kate loves going through internet...
    • Wedding Dresses: Whats up very nice web site!! Guy .. Beautiful .. Superb .. I will bookmark your blog and take the...
    • Wade Husselbee: Thank you for influencing so many readers with your great information. Your article has sparked a lot...
    • ogrodzenie ogrodowe: Usually I don’t read article on blogs, however I would like to say that this write-up very...
    • Barrett Hema: I really like what you have written here, certainly like what you’re saying and the way in which...

    Recent Listened to Tracks

    Loading...

eastern-avalanche
eastern-avalanche
eastern-avalanche
eastern-avalanche