• 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: [iphone] split an image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iphone] split an image


  • Subject: Re: [iphone] split an image
  • From: "John C. Randolph" <email@hidden>
  • Date: Sat, 08 Aug 2009 18:29:11 -0700


On Aug 4, 2009, at 12:45 PM, Dragos Ionel wrote:

Hi,

Is there a simple way to split an image? For example, divide it in to 2x2 =
4 pieces.


Is UIImage the way to go?

If you want to slice and dice an image like that, you probably want to use CGImage instead. See CGImageCreateWithImageInRect()


-jcr

_______________________________________________

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: 
 >[iphone] split an image (From: Dragos Ionel <email@hidden>)

  • Prev by Date: [iPhone 3.0] UIImage startAnimating -- how to tell when it's finished?
  • Next by Date: System Sound, and Audio Services [solved more] (was: NSSound play often fails)
  • Previous by thread: Re: [iphone] split an image
  • Next by thread: [ANN} Introducing DSActivityView for iPhone
  • Index(es):
    • Date
    • Thread