I'm running a convert command on a bunch of different images. Mostly, it's working just fine, but I noticed that a couple of images weren't being watermarked, as if the `-composite` command wasn't even there.
The command
Code: Select all
convert src.jpg -colorspace RGB -resize 1500x1500\> -strip watermark.png -composite out.jpg
Code: Select all
convert src.jpg watermark.png -composite out.jpg
http://files.mattalexander.me/imtest.zip
Code: Select all
*** ~: unzip -l imtest.zip
Archive: imtest.zip
Length Date Time Name
--------- ---------- ----- ----
0 2010-11-13 18:54 imtest/
22676 2010-11-18 11:12 imtest/out.jpg
48 2010-11-13 18:54 imtest/run
23293 2010-11-13 18:47 imtest/src.jpg
76232 2010-11-13 18:47 imtest/watermark.png
--------- -------
122249 5 files
Server #1
Code: Select all
*** ~: cat /etc/issue
Ubuntu 9.10 \n \l
*** ~: uname -a
Linux *** 2.6.31-22-server #67-Ubuntu SMP Sat Oct 16 19:03:54 UTC 2010 x86_64 GNU/Linux
*** ~: convert --version
Version: ImageMagick 6.5.1-0 2009-08-27 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Code: Select all
*** ~: cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m
*** ~: uname -a
Linux *** 2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17 19:10:36 MSD 2010 i686 i686 i386 GNU/Linux
*** ~: convert --version
Version: ImageMagick 6.2.8 10/20/10 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC