adding text to JPEGs, in bulk
Guy Fraser
guy at incentre.net
Wed Sep 20 15:32:26 UTC 2006
On Sun, 2006-09-17 at 18:43 +0930, Tim wrote:
> Hi,
>
> Thanks to all who pointed out ways to do this, this is what I'm
> trialling at the moment, as a combination of a few of the hints:
>
> for file in *
> do
> number=$(echo $file | cut -b6-8)
> echo doing photo $number
> convert -fill red -font Bookman-DemiItalic -pointsize 330 -draw "text 300,1000 photo-$number" $file ../proofs/$file
> done
>
> That makes modified versions in a different directory, and works rather
> nicely. Now I just wish I had faster PC, they're big files to play
> with. ;-)
>
> I'll probably have to go back and modify the text placement for a few of
> them, if it's appeared smack across someone's face, but it takes care of
> the bulk of the photos without lots of work.
>
I just checked out the help and you could also add "grep"able text
to the image using :
-comment string annotate image with comment
> --
> (Currently running FC4, in case that's important to the thread)
>
> Don't send private replies to my address, the mailbox is ignored.
> I read messages from the public lists.
More information about the fedora-list
mailing list