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

    • balustrady balkonowe: Only wanna comment on few general things, The website style is perfect, the subject matter is...
    • John Deere Repair Manuals: Nice info. Very informative.Thanks
    • ray ban aviator: Many straight men are wondering if they are doing a little something wrong. Other guys find a way to...
    • air max blanche: chaussures nike on a tous fait du sport ensembleIl est malade depuis 1665. Il est cocu depuis son...
    • thang may gia dinh: gia dinh mitsubishi sakura thiet ke Tre 8 Thang May Can do Thoi Trang Nu 10 Phu Nu Giau Nhat...

    Recent Listened to Tracks

    Loading...

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