• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Screen capture on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Screen capture on OS X (From: Darren Wheatley <email@hidden>)

  • Prev by Date: Re: Exiting non-POSIX threads?
  • Next by Date: Re: UITableView Cell reordering when cell size is larger than screen size
  • Previous by thread: Screen capture on OS X
  • Next by thread: Auto Save and Versions for a Shoebox App
  • Index(es):
    • Date
    • Thread