Page 1 of 1

put together in a random way hundreds of pictures

Posted: 2012-05-08T11:10:54-07:00
by adrien
Hi,
I'm looking for a way to assemble hundreds of pics in one but in a random way.
Waiting for your ideas.
Thx

Re: put together in a random way hundreds of pictures

Posted: 2012-05-08T12:12:11-07:00
by Bonzo
How do you want to use the code - php - batch - bash
Do you want to end up with a square image, rectangular - basicly you need to supply more information.

Re: put together in a random way hundreds of pictures

Posted: 2012-05-08T12:20:38-07:00
by adrien
actually i nearly succeed by using "montage" like that : montage TSParadise_*.png -mode concatenate -tile 145x145 montage_tsparadise.jpeg
But now i have a new problem, i can't figure how to make it random.

Re: put together in a random way hundreds of pictures

Posted: 2012-05-08T15:26:55-07:00
by fmw42
rename all your files and add some random number to the base name before montage.

Re: put together in a random way hundreds of pictures

Posted: 2012-05-10T08:27:53-07:00
by stevepark
If you know a bit of programming you could compile a small application to randomize them for you. Of course, you can always ask someone else to do it for you, for a price, usually...

Re: put together in a random way hundreds of pictures

Posted: 2012-05-10T08:53:47-07:00
by Bonzo
If as I had asked in the first reply he had let us know what method of using imagemagick he was using we could have suggested some way to randomise them !

Re: put together in a random way hundreds of pictures

Posted: 2012-05-11T01:11:23-07:00
by rich2005
Sorry about being off topic and none-imagemagick.

Maybe the OP should consider a mosaic making application. This one is using metapixel in linux, andrea mosaic for windows works as well.
http://i.imgur.com/YDyuB.jpg
The randomness (if you can call it random) comes from the source image - I overlayed this in the middle. For the mosaic generation I used a couple of tile libraries, maybe 1500 tiles to choose from.

Re: put together in a random way hundreds of pictures

Posted: 2012-05-13T16:11:35-07:00
by anthony
Have a look at the coding technique, Programmed Image Placement
http://www.imagemagick.org/Usage/layers/#layer_prog

You have one loop, working out the position of images, then piping the images to a separate command to place them on a larger canvas. The images do not need to be arranged in a square, but can be placed anywhere!