Hi,
I'm looking for a way to assemble hundreds of pics in one but in a random way.
Waiting for your ideas.
Thx
put together in a random way hundreds of pictures
Re: put together in a random way hundreds of pictures
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.
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
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.
But now i have a new problem, i can't figure how to make it random.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: put together in a random way hundreds of pictures
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
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
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
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.
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.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: put together in a random way hundreds of pictures
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!
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!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/