Cool Coder
Cool Coder

Reputation: 309

Objective c dynamically split image into irregular jigsaw shapes

I am trying to split an image into multiple irregular shaped jigsawed chunks. Though I am able to split into multiple rectangular shaped pieces but not able to find any way to for irregular shapes. I have come across Jigsaw Puzzle, cutting pieces from image but none has any implementation or idea in objective c. Please give me some idea

Upvotes: 0

Views: 2126

Answers (1)

NSResponder
NSResponder

Reputation: 16861

If you want to extract arbitrarily shaped portions of an image, you can do it by compositing. I wrote a sample code project many years ago that demonstrates how to do so.

Upvotes: 1

Related Questions