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

64 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

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

  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

  42. # 42 Doug Locher Says:

    I blog often and I seriously thank you for your content. Your article has truly peaked my interest. I’m going to book mark your blog and keep checking for new details about once a week. I opted in for your RSS feed as well.

  43. # 43 Arthursats Says:

    Resources Matlab SPSS Discrete distributions Continuous distributions Joint distributions Non-numeric distributions Testimonials Statistics was a very tough subject for me before.
    Then, my life changed drastically.
    Write your essay utilizing a professional and legible font.
    Will he promote military schools nationwide?
    Duties: This position oversees the daily operations of the ID card offices, vending and food service locations on the Denton, Dallas and Houston campuses, including marketing, scheduling of hours of operations, scheduling maintenance and repair of facilities and equipment.

    can i pay someone to do my essay
    buy a college research paper
    help me write a narrative essay
    essay order online
    buy homework answers

    academic writing
    what is academic writing
    academic writing for graduate students
    academic writing skills
    academic writing services
    academic writing course
    academic writing service
    english academic writing
    academic writing in english
    academic writing companies
    academic writing essay
    freelance academic writing
    academic writing software
    academic writing course online
    academic writing essays
    academic writing process
    advanced academic writing
    online academic writing
    academic writing resources
    help with academic writing
    essay academic writing
    online academic writing companies
    academic writing support
    academic writing university
    academic writing research
    academic writing research paper
    academic writing and research
    academic writing paper
    academic writing thesis statement
    personal academic writing
    custom academic writing services
    custom academic writing
    academic writing services company
    academic writing services for graduate students

    For a novel, put the page number first and then, if possible, indicate the part or chapter in which the passage can be found.
    Even with the continuous sophistication of software for the recognition of duplicate use of words and sentences, accusations of plagiarism should not be based exclusively on automated processes.
    The first decile represents the 10 percent coming from the poorest zip codes while the tenth decile represents the wealthiest zip codes.
    Choose someone you have access to and whom you can interview (several times, if necessary).
    See the articles “Scholarship Master Application” and “How to Strengthen a Scholarship Essay” for more information on the preparation and writing of scholarship essays.

  44. # 44 REMOVEWAT 2.2.6 WINRAR Says:

    Hi, i think that i noticed you visited my blog thus i got here to return the
    want?.I’m attempting to find issues to improve my site!I assume its adequate to make use of a few of
    your ideas!!

  45. # 45 German Choy Says:

    Hey! I was wondering if anybody on this forum can confirm this: My wife just saw a video on Facebook that said Dan Lauria was just arrested knifepoint and that Chris Kattan, Woody Allen and Reese Witherspoon had something to do with this. Someone please confirm this news story is satyrical.

  46. # 46 Jordan Older Says:

    Pele came out of international retirement to play one last game for Brazil on October 6, 1976 against club side Flamengo, who won the match 2-0. His last international game for Brazil, however, was a 2-2 draw with Yugoslavia on July 18, 1971.

  47. # 47 Ventura IT Web Design Says:

    When some one searches for his vital thing, thus heshebr desires to be available that in detail, thus that thing is maintained over here.

  48. # 48 睡裙 Says:

    球迷個性分析為充分發揮代表作用,根據代表提出的議案和建議 生活情趣,我們及時啟動代表法修改工作,在廣泛征求意見基礎上, 生活情趣 還專門書面征求了每位全國人大代表的意見。 台北援交 天誠盛業在生物識別領域所做的研發及推出的相關產品無疑為當下的移動支付、銀行身份安全認證等提供了領先的解決方案據悉 台北援交,在目前國內金融安全領域市場上,天誠盛業的市場占有率已達到到了50%以上,已為農業銀行、郵儲銀行、交通銀行、招商銀行、廣發銀行等全國100多家總行及省級分行 威而鋼 空腹吃,20多家省級農信社、60多家城商行提供服務 外送茶。與 威而鋼 空腹吃 期房相比,準現房銷售不僅可減少等待時間,還可以方便置業者實地實景看房,建筑品質親眼可見據項目

  49. # 49 condo funriture Says:

    my grandmother is always into herbal stuffs and she always say that ayurvedic medicines are the best stuff**

  50. # 50 pinoy channel Says:

    I am so grateful for this post and thanks such a good deal for sharing it with us.

  51. # 51 Australia's most unreliable bank Says:

    Hey there. I want to to ask just a little something…is this a wordpress web log as we are planning to be transferring more than to WP. In addition did you make this template all by yourself? Many thanks.

  52. # 52 My Personal Diabetes Success Says:

    This committee assist to a lot of individuals. You can use their services in your function. You are able to read research papers about all details of their work.

  53. # 53 Get More Info Says:

    I had been honored to receive a call coming from a friend as he observed the critical points shared inside your internet site. Looking at your weblog publication can be a real excellent experience. Thank you for thinking of readers like me, and I desire for you the most effective of achievements for a professional surface region. resorts in cuba

  54. # 54 real psychic reading Says:

    It changed the traditional designs with the portrayals of symbolic scenes. Some pictures make us really feel pleased and some make us feel unhappy. Scorpio Your natural intensity is modified by a more relaxed an cooperative power.

  55. # 55 Sources Says:

    Hello. Will the Power Point be published soon for the Bibliometrics workshop? Thank you.

  56. # 56 match porn foot live Says:

    Your style is so unique in comparison to other folks I have read stuff from. Thanks for posting when you have the opportunity, Guess I’ll just book mark this page.

  57. # 57 Servicio Madrid Says:

    Hi! Your write-up rocks also as getting a genuine superb understand!??

  58. # 58 website Says:

    Great topic and well written. Do you have any more resources about this that you reccommend?

  59. # 59 jual wf Says:

    owed thisbusiness apa softw es you the jambi yangin throug h the busin

  60. # 60 estafadores Says:

    There’s definately a lot to know about this topic. I like all of the points you made.

  61. # 61 shawnee mission kia Says:

    Great site you have got here.. It’s difficult to find high quality writing like yours these days. I honestly appreciate people like you! Take care!!

  62. # 62 Porn Says:

    The next time I read a blog, I hope that it doesn’t disappoint me just as much as this particular one. I mean, Yes, it was my choice to read through, but I genuinely thought you would have something useful to talk about. All I hear is a bunch of moaning about something that you can fix if you weren’t too busy seeking attention.

  63. # 63 elektrische sigaret Says:

    An impressive share! I’ve just forwarded this onto a friend who was doing a little research on this. And he in fact bought me breakfast simply because I discovered it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to talk about this issue here on your web page.

  64. # 64 thai tour Says:

    It’s hard to come by well-informed people in this particular topic, however, you seem like you know what you’re talking about! Thanks

Leave a Reply

  • Recent Comments

    • Hannah Marry: I’m raising my hand too…..
    • 太仓代还信用卡: 揭秘:大才子纪晓岚为何是官场上的“不倒翁”?但是不管怎样,纪 晓岚做官做到死,在学术盛兴的乾嘉时期,这种选择也是耐人寻味 泉州私家侦探 的。“ 立夏养生多喝粥汤 浮沉宦海如鸥鸟,生死书丛似蠹鱼”,这是纪晓岚自作的...
    • photo booth wedding bandung: Darkroom Booth can save periods in a number of places directly so you possibly can...
    • Supangat: Anyone can give me new update for this firmware?
    • 北京通州信用卡还款电话: 春天百花梦中开春 天百花 梦 中开 作者:恩施土家族丰剑波 春天 百花梦中开,莺雀蜂蝶闻香来 , 风染山谷林 小型水冷冷水机 野静,满目 春 油温机 色 无尽怀。 ——- 题记...

    Recent Listened to Tracks