On Aug 7, 2010, at 15:13, Philip Mobley wrote: > Reading up on the docs for both CGImage and UIImage, I see that there is a > scale property, but there doesn't appear to be any way to modify the scale > factor of an CGImage without resampling (and therefore changing the pixels). > > Below is a comment from the UIImage.scale (property) read-only, and if I want > to modify the scale of an open CGImage is to save it to disk, and reopen it > using the scale factor tag as described below... is this the only way?
How about +imageWithCGImage:scale:orientation:? I don't see anything in the documentation about CGImages having a scale -- the scale is in the UIImage. _______________________________________________ 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