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

20 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.

  12. # 12 cheap gaming laptop 2014 Says:

    Good day! I know this is somewhat off topic but I was wondering which blog platform are you using for this site?
    I’m getting tired of WordPress because I’ve had problems with hackers and I’m
    looking at options for another platform. I would be awesome if you could point me in the direction of a good platform.

  13. # 13 travail remunere a domicile Says:

    It’s impressive that you are getting ideas from this post as well
    as from our argument made here.

  14. # 14 diet pills prescription Says:

    Thank you for the auspicious writeup. It if truth
    be told was once a amusement account it. Look advanced
    to more delivered agreeable from you! By the way, how can we keep up a correspondence?

  15. # 15 water restoration company Says:

    Hello! I know this is somewhat off-topic however I had to ask.

    Does operating a well-established website like yours require a massive amount work?
    I am completely new to blogging however I do write in my
    diary everyday. I’d like to start a blog so I will be able to share my personal experience and thoughts online.
    Please let me know if you have any kind of suggestions or tips for new aspiring bloggers.
    Appreciate it!

  16. # 16 best clothes iron reviews Says:

    Your style is so unique in comparison to other folks I’ve
    read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will
    just book mark this blog.

  17. # 17 Window Repair in Hamilton Says:

    The Advantages of Softwood Casement Windows

    There are many different Window Repair in Hamilton possibilities,
    whether you’re in the process of making a fresh home or perhaps you need
    windows for your existing home. Apart from variations, like casement
    windows, double hung and sash, but you can also get lots of materials from hard or soft wood to PVC, aluminium and more.

  18. # 18 removewat 2.2.6 Says:

    hello!,I really like your writing very so much! share we communicate extra about your post on AOL?
    I require a specialist in this area to unravel my problem.

    May be that’s you! Having a look ahead to look you.

  19. # 19 top wireless routers 2014 Says:

    What i don’t realize is in fact how you’re not actually much more smartly-favored than you may be now.
    You are very intelligent. You realize therefore considerably relating to this subject,
    produced me for my part imagine it from numerous various angles.

    Its like women and men don’t seem to be interested unless it’s something to
    accomplish with Woman gaga! Your individual stuffs nice.
    Always care for it up!

  20. # 20 homeschool legal defense association hslda Says:

    Keep up the positive work, and should not be satisfied with” X years”
    as an image of a woman on the tristar attorneys hunt.
    Latasha Poke, 37, of Detroit, who said to come and speak on your behalf.
    28 This piece of information became” cause”
    clearly supports the agenda of their opposition. But she said she felt undeserving of the domestic violence
    charges, it does not do more to end this cycle of violence.
    There is something you could use to your advantage.

Leave a Reply

    Recent Listened to Tracks

    Loading...

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