Hello,
nice to find you.
Im totally noob to imagemagick and programming, so excuse if my question is posted to wrong place.
Can imagemagick batch process photos, as photoshop variables/datasets do it?
That is take information out of a CSV file, and accordingly add text layers or graphic layers on a batch of images (lets say 5-10K images)?
CSV could look like that
photo, name, name2, level
c:\photo0001.jpg,george,bruce,level 2
c:\photo0002.jpg,nik,mark,level 3
...
c:\photo2311.jpg,john,john,level 2
etc.
All i want to know for the time, is if this is feasible. Not really how to do it. If it can really can be done, i will explore if it worth changing my current workflow. I work with photoshop's variables, atm.
Thank you in advance for your time
Can imagemagick do variables (as per photoshop)
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Can imagemagick do variables (as per photoshop)
IM won't read a CSV and process files as specified by values in the CSV.
Instead, a shell script would read the CSV and call IM once per line, passing IM the values of environment variables it has read from the CSV.
Instead, a shell script would read the CSV and call IM once per line, passing IM the values of environment variables it has read from the CSV.
snibgo's IM pages: im.snibgo.com
Re: Can imagemagick do variables (as per photoshop)
Thank you for your answer.
Photoshop is very nice but quite clumsy, and i believe much slower (it needs to create .psd files, and then convert them to .jpgs), so i will try to give it a try.
I will go on reading now, about fonts etc now before asking things that im sure have been analysed before.
Thank you again.
Photoshop is very nice but quite clumsy, and i believe much slower (it needs to create .psd files, and then convert them to .jpgs), so i will try to give it a try.
I will go on reading now, about fonts etc now before asking things that im sure have been analysed before.
Thank you again.