Hello guys,
I"m looking for some easy ready-to-use solution for the following process:
(Please advice me if Imagemagic can do it):
- take a random pick of any size from the given folder
- take a random piece of text from the chosen .txt
- overlay text on the picture
- save the result to the chosen folder
+ repeat the above сycle N times with one and the same set to mix combinations in different ways
If it's impossible to do by ImageMagic, than maybe someone here has a script like I describe or knows where it can be lookes for?
Thank you!
Generate images overlayed by random text, automation
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Generate images overlayed by random text, automation
ImageMagick can overlay text on a picture.
A script could choose the random picture and random text.
A script could choose the random picture and random text.
snibgo's IM pages: im.snibgo.com
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Generate images overlayed by random text, automation
IM can also automatically size the text to a given area.
http://www.imagemagick.org/Usage/text/#label_bestfit
http://www.imagemagick.org/Usage/text/#caption_bestfit
Though rotations, and other effects need to be added seperatally.
All you really need do is put it all together in a script.
http://www.imagemagick.org/Usage/text/#label_bestfit
http://www.imagemagick.org/Usage/text/#caption_bestfit
Though rotations, and other effects need to be added seperatally.
All you really need do is put it all together in a script.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/