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

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

  21. # 21 feet fungus Says:

    If some one wishes expert view on the topic of blogging then i advise
    him/her to visit this webpage, Keep up the good job.

    my blog post – feet fungus

  22. # 22 garcinia morella Says:

    garcinia morella…

    FernyB | Capture NSWindow screenshot…

  23. # 23 http://www.kssino.com/main/userinfo.php?uid=407199 Says:

    Bulks with the advertisers are primarily private house owners, letting managers and property agents.

    She invites one to visit her site where she is
    going to share a proven strategy to start an internet business.

    it could also be used for headhunting and employment.

    My webpage http://www.kssino.com/main/userinfo.php?uid=407199

  24. # 24 Pueraria Mirifica Says:

    Wow! This could be one particular of the most beneficial blogs We have ever arrive across on this subject. Actually Great. I am also an expert in this topic therefore I can understand your effort.

  25. # 25 hackear wifi Says:

    Heya this is kind of of off topic but I was wanting to know if blogs use WYSIWYG
    editors or if you have to manually code with HTML. I’m starting
    a blog soon but have no coding expertise so I wanted to get
    guidance from someone with experience. Any help would be greatly appreciated!

    My page :: hackear wifi

  26. # 26 elite test 360 facts Says:

    Hey There. I discovered your weblog using msn. That is an extremely well written article.
    I will make sure to bookmark it and come back to learn more of your useful information. Thanks for
    the post. I will certainly comeback.

    Here is my web site :: elite test 360 facts

  27. # 27 Child Day Care Services in 53209 Says:

    Excellent article. I certainly love this site.
    Continue the good work!

  28. # 28 Carpet Tiles Says:

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

  29. # 29 cheats for clash of lords 2 Says:

    Very good post. I’m facing some of these issues as well..

    My web page cheats for clash of lords 2

  30. # 30 Apartments For Rent Says:

    You are a very clever individual!

  31. # 31 Beauty Supplies Says:

    I have read a few just right stuff here. Definitely worth bookmarking for revisiting. I wonder how so much effort you set to create this type of excellent informative site.

  32. # 32 Real Estate Business Says:

    hello!,I really like your writing very a lot! percentage we keep in touch more about your post on AOL? I need an expert in this area to unravel my problem. May be that’s you! Looking ahead to look you.

  33. # 33 science education Says:

    Hey there, You’ve done an excellent job. I’ll certainly digg it and personally suggest to my friends. I am confident they’ll be benefited from this website.

  34. # 34 Modern Sofa Says:

    Whats Taking place i am new to this, I stumbled upon this I’ve found It absolutely helpful and it has helped me out loads. I’m hoping to give a contribution & assist other customers like its aided me. Good job.

  35. # 35 Wedding Jewelry Says:

    Thank you so much for providing individuals with an extraordinarily spectacular chance to read critical reviews from this blog. It can be very nice and packed with amusement for me personally and my office co-workers to visit the blog on the least thrice in one week to read through the fresh things you have. Not to mention, I am just usually amazed concerning the gorgeous advice you give. Certain 3 ideas on this page are clearly the most effective I have had.

  36. # 36 Summer Dresses Says:

    I think other website proprietors should take this site as an model, very clean and magnificent user friendly style and design, as well as the content. You’re an expert in this topic!

  37. # 37 Payday Loans Says:

    hey there and thank you for your info – I have certainly picked up something new from right here. I did however expertise a few technical issues using this website, since I experienced to reload the web site many times previous to I could get it to load properly. I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and can damage your quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my e-mail and could look out for much more of your respective fascinating content. Make sure you update this again very soon..

  38. # 38 Best camcorder 2014 Says:

    excellent put up, very informative. I wonder why the other experts of
    this sector do not understand this. You should continue your writing.
    I am confident, you have a huge readers’ base already!

  39. # 39 cartier love bracelet Says:

    Right here is the right site for anyone who hopes
    to understand this topic. You know a whole lot its almost hard to argue with you
    (not that I personally would want to…HaHa). You certainly put a fresh
    spin on a subject that has been written about for
    years. Great stuff, just excellent!

  40. # 40 Mallory Says:

    Quality articles is the key to be a focus for the visitors to pay a visit the web site, that’s what this website (Mallory)
    is providing.

  41. # 41 Strony Internetowe Says:

    Najtańsze Strony internetowe

Leave a Reply

    Recent Listened to Tracks

    Loading...

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