Bash ImageMagick`convert-composite`处理一些,而不是其他

Bash ImageMagick`convert-composite`处理一些,而不是其他,bash,imagemagick,overlay,watermark,Bash,Imagemagick,Overlay,Watermark,问题 我在一堆不同的图像上运行convert命令。大多数情况下,它工作正常,但我注意到有几张图像没有加水印,好像-composite命令根本不存在 命令 convert src.jpg -colorspace RGB -resize 1500x1500\> -strip watermark.png -composite out.jpg 在本测试中,实际上不需要使用-colorspace、-resize和-strip命令。但是如果我删除它们,我会得到相同的结果: convert src.j

问题

我在一堆不同的图像上运行convert命令。大多数情况下,它工作正常,但我注意到有几张图像没有加水印,好像
-composite
命令根本不存在

命令

convert src.jpg -colorspace RGB -resize 1500x1500\> -strip watermark.png -composite out.jpg
在本测试中,实际上不需要使用
-colorspace
-resize
-strip
命令。但是如果我删除它们,我会得到相同的结果:

convert src.jpg watermark.png -composite out.jpg
图像文件

软件版本

服务器#1

服务器#2


我尝试过这个方法,但水印确实可以通过给定的命令应用(我假设“\>”是一个错误,应该是“>”):

我在32位Windows上使用IM6.6.5-8

然而,在给定的源图像上很难看到水印


输出文件在这里:

\>
不是错误。Ctrl+F表示“\>”。感谢您的回复。我把新旧图像排成一行,看到它实际上是在添加水印。
*** ~: 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
*** ~: 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
*** ~: 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
convert src.jpg -colorspace RGB -resize 1500x1500> -strip watermark.png -composite out.jpg