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 CGImageCreateWithImageIn
On Aug 4, 2009, at 1:28 PM, Dragos Ionel wrote:
I am trying to create a puzzle from an image.
Divide the image in multiple parts, let's say 4x4=16, mix them and
then ask the user to move them back in the original spots.
Presumably you have a view for each part of the puzzle, in which case
I am trying to create a puzzle from an image.
Divide the image in multiple parts, let's say 4x4=16, mix them and then ask
the user to move them back in the original spots.
Thanks,
Dragos
On Tue, Aug 4, 2009 at 4:26 PM, David Duncan wrote:
> On Aug 4, 2009, at 12:45 PM, Dragos Ionel wrote:
>
>
On Aug 4, 2009, at 12:45 PM, Dragos Ionel wrote:
Is there a simple way to split an image? For example, divide it in
to 2x2 = 4 pieces.
Is UIImage the way to go?
You somehow need to draw the image 4 times, but depending on what you
are trying to do there are different approaches. Could yo
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?
Thanks,
Dragos
iphodea.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comme