Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
First off I want to thank for a great piece of software, it really gives the creativity some room!
I have been fighting for some months with my own metadataposter för my movie collection and finally have a decent result. The imagemagick commands in the shape they are now takes way to long time to parse and I have seen that one can add the commands together. However, after a week I cannot get it to work without having my long liners where I work with the same image over and over. Anyone have any pointer on how I should approach this? Thanks!
It kind of hard to follow all your commands, but keep in mind that you can chain command sets within convert and use convert -composite rather than composite. You can also use parenthesis processing to keep each set of command separate, but that seems optional in this situation.
Can be combined as follows in Unix syntax, but note that -quality 100 is probably not correct for PNG files (and should be saved until the end). See http://www.imagemagick.org/script/comma ... hp#quality. Note also that -geometry needs to come before -composite
convert "$file" -resize $METASIZE $ART/frame_720.png +swap -composite \
-background '#0000' -fill white -size 500x162 -pointsize 18 caption:"$PLOT" -geometry '+300+490' -composite \
...
etc for each text field you want to add
...
"$WORKDIR/large_box.png" -resize 85% -geometry '+80+398' -composite -quality XX "$WORKDIR/about.png"
The \ at the end of the line mean continue on the next line. Do not put spaces after \. This helps make your command more readable than all on one line.
Thanks for the answer! I did som benchmarking on my process just to see if I could justify not to mess with this more. My poster is generated from variables generated from data pulled from a few xml files with metadata and movieonfo and such. When running the whole shebang with pulling the data and operators on text and so on I generate a poster in 10-12s. If I instead directly put some values in the convert and composite commands it generates in 2s... Maybe my IM commands aint that much a candidate for improving after all.. How much can a merging of all the commands give in improved efficiency?