Page 1 of 1

Generate images overlayed by random text, automation

Posted: 2013-02-22T18:53:53-07:00
by Uwec
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!

Re: Generate images overlayed by random text, automation

Posted: 2013-02-22T18:59:32-07:00
by snibgo
ImageMagick can overlay text on a picture.

A script could choose the random picture and random text.

Re: Generate images overlayed by random text, automation

Posted: 2013-02-26T17:51:34-07:00
by anthony
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.