• 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: CGImageRef printing issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGImageRef printing issue


  • Subject: Re: CGImageRef printing issue
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 12 Nov 2009 14:52:58 -0800

On Thu, Nov 12, 2009 at 2:26 PM, Mirko Viviani <email@hidden> wrote:
> Do you mean that there is no way to print an image using a grid of 300 PPI with Cocoa/Quartz?
> If not, why? Alternatives?

Resolution independence.  Your physical screen may have 96 pixels per
inch, but the system exposes it as 72 points per inch.  In the case of
printing, it actually gets this right and maps these virtual points to
physical, real-world 1/72 of an inch.  In the case of onscreen
graphics, the system currently does not do the points -> pixels
mapping such that 1 point = 1/72 inch.  You can turn that on with
Quartz Debug, though, and then everything behaves as if you were
printing.

--Kyle Sluder
_______________________________________________

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: 
 >Re: CGImageRef printing issue (From: Mirko Viviani <email@hidden>)

  • Prev by Date: Re: CGImageRef printing issue
  • Next by Date: Re: CGImageRef printing issue
  • Previous by thread: Re: CGImageRef printing issue
  • Next by thread: Re: CGImageRef printing issue
  • Index(es):
    • Date
    • Thread