Re: CGImage / UIImage non destructive scaling possible
Re: CGImage / UIImage non destructive scaling possible
- Subject: Re: CGImage / UIImage non destructive scaling possible
- From: Quincey Morris <email@hidden>
- Date: Sat, 7 Aug 2010 15:39:38 -0700
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 (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