On Mar 27, 2012, at 7:29 PM, David Duncan wrote:

> Simplest solution is to save the scale along side the image itself (under the 
> assumption that this data can possibly end up on a non-retina device for some 
> reason) or to create a new UIImage with the screen scale via 
> +imageWIthCGImage:scale:orientation: (assuming it cannot) after you load it 
> with +imageWithData:.
> --
> David Duncan
> 

David, am I correct if I pass 0 for the scale in 
+imageWithCGImage:scale:orientation: it will generate a UIImage with a scale of 
1? (It seems to do that, which in my case is just what I need ;)

Thanks,
- Ray.


_______________________________________________

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

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

Reply via email to