• 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: CGImage / UIImage non destructive scaling possible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >CGImage / UIImage non destructive scaling possible (From: Philip Mobley <email@hidden>)

  • Prev by Date: CGImage / UIImage non destructive scaling possible
  • Next by Date: Dynamic loading of a third party .dylib
  • Previous by thread: CGImage / UIImage non destructive scaling possible
  • Next by thread: Dynamic loading of a third party .dylib
  • Index(es):
    • Date
    • Thread