On Mar 14, 2011, at 10:55 PM, Development wrote:

> Ok I'm rendering my images slightly larger than the view's that they are 
> being printed from.
> Basically the quality is less than great. Is there a way to change the 
> CGImage dpi? Or a way to change the quality of the print to maximum?
> 
> Or is print quality basically just what it is on iOS?

CGImages have no concept of DPI, the DPI is determined by what size of a space 
you draw them into and the characteristics of the target context. Printing 
contexts use 72 coordinate points per inch, so if you want to draw an image 
into a 1" x 1" space with 300 DPI, then the image needs to be 300x300 and drawn 
into a rect that is 72x72.

As far as the rest, I don't know of any controls on printing, but if your image 
is only slightly larger that would most likely be the problem – an image that 
is slightly off from the DPI of the target is more likely to look bad than one 
that is significantly smaller if only because the resampling will distort the 
image more.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to