PDA

Click to See Complete Forum and Search --> : Split image into segments


FireBeast
Mar 29th, 2000, 03:41 PM
Hi all,

Please tell me how I could split an image into segments.
I am trying to write a picture puzzle.

Thanks

FireBeast

Sam Finch
Mar 29th, 2000, 09:10 PM
If you can use the API your best bet is to create an array of picture boxes, play with their regions to make them the right shapes and bitblt the proportion of the image you want into them using GetBoundsRect. There's quite a lot of maths I've left out but you get the Idea.

Hope this helps.

FireBeast
Apr 3rd, 2000, 06:43 PM
Thanks for your help Sam.

I'll have a go


FireBeast.