Re: Screen capture on OS X
Re: Screen capture on OS X
- Subject: Re: Screen capture on OS X
- From: Ken Thomases <email@hidden>
- Date: Mon, 29 Jul 2013 09:58:28 -0500
On Jul 29, 2013, at 7:15 AM, Darren Wheatley wrote:
> I've written a screenshot method to grab the map for inclusion in a print view. This is largely based on the examples here:
> I've tried the three methods shown in the SO post, and only the CGWindowListCreateImage works correctly in my app.
>
> The problem I have is that the quality of the resultant image is poor, which is exacerbated when the image is resized for printing.
> return [[[NSImage alloc] initWithCGImage:cgimg size:[aView bounds].size] autorelease];
Have you tried passing NSZeroSize for the size? Are you on a Retina display?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden