Page 1 of 1

arrange images into an array to create new image

Posted: Tue Aug 07, 2007 8:53 am
by Haplo
I want to arrange 16 .png images, say 100x100 in size into a 4x4 grid to create a new .png image 400x400 in size and then save the newly assembled image.

I am a novice at coding (I purchased PB a long time ago but have only just started to learn properly with the limited spare time I can snatch).

Would this be simple to achieve? I would like the ability to define the array size for grids other than 4x4.

Posted: Tue Aug 07, 2007 11:34 am
by srod
Shouldn't be a problem using PB's drawing and image commands. I don't mind hacking up some code for you but I'd rather have the images to hand first.

If I pm'd you an e-mail address could you send me the images?

Posted: Tue Aug 07, 2007 12:42 pm
by Haplo
That would be great, tnx.

Posted: Tue Aug 07, 2007 2:51 pm
by Haplo
Thanks to srod for knocking together some very nice code and so quickly too!

This is a great community!

Posted: Tue Aug 07, 2007 3:00 pm
by srod
If a man is standing in the middle of the forest speaking, and there is no woman around to hear him, is he still wrong?
:lol:

Love the signature!