Watermarking with Images
Posted: 2009-12-21T13:30:40-07:00
I'm trying to apply the code listed on this page:
http://www.imagemagick.org/Usage/annota ... mark_image
to watermark some images. I've created a file called wm.png that has what I want to use as a watermark. I was able to use the following command to watermark an image (test.jpg) and create output1.jpg with the desired results.
What I'd really like to do, though, it apply the Greyed Dissolve command to my images. When I issue this command (all one line):
however, I get two error messages:
This is ImageMagick version: ImageMagick 6.5.2-9 2009-05-26 Q16 OpenMP
identify -list format shows, among other things, the following three lines which, I assume, cover the image formats needed for this to work:
I really don't know what else to look at. I'd appreciate it if someone would point out what I'm doing wrong. Thanks.
http://www.imagemagick.org/Usage/annota ... mark_image
to watermark some images. I've created a file called wm.png that has what I want to use as a watermark. I was able to use the following command to watermark an image (test.jpg) and create output1.jpg with the desired results.
Code: Select all
composite -dissolve 25% -gravity south wm.png test.jpg output1.jpg
Code: Select all
C:\>convert wm.png -fill grey50 -colorize 40 miff:- | composite -dissolve 30 -gravity south - test.jpg output2.jpg
Code: Select all
composite: no decode delegate for this image format `C:/DOCUME~1/HARTLE~1/LOCALS~1/Temp/magick-Jfm4-lu1' @ constitute.c/ReadImage/503.
composite: missing an image filename `output2.jpg' @ composite.c/CompositeImageCommand/1588.
identify -list format shows, among other things, the following three lines which, I assume, cover the image formats needed for this to work:
Code: Select all
JPG* JPEG rw- Joint Photographic Experts Group JFIF format
MIFF* MIFF rw+ Magick Image File Format
PNG* PNG rw- Portable Network Graphics (libpng 1.2.35)