Hi All,
We have a requirement to create a image rendition with a watermark text.We are using ImageMagick for conversion and have installed FreeType delegates in the Linux box. normal conversion using the resize command works fine but after using the -draw/-font command, I am getting the error as mentioned below
Starting to create the 'MediumWatermark' rendition of type 'Extra'
Creating rendition with command: /usr/local/bin/convert -resize 352x300> -font -draw "gravity south fill white text 0,0 'copyright'" "/OraApplBin/Oracle/Middleware/user_projects/domains/base_domain/ucm/ibr/vault/~temp/qaecmnode116200/1466/2462.jpg" "/OraApplBin/Oracle/Middleware/user_projects/domains/base_domain/ucm/ibr/vault/~temp/qaecmnode116200/1466/mediumwatermark3/mediumwatermark.jpg"
The 'MediumWatermark' rendition failed. The engine reported the following error: 'convert: unable to open image `gravity south fill white text 0,0 'copyright'': @ error/blob.c/OpenBlob/2584.
convert: no decode delegate for this image format `gravity south fill white text 0,0 'copyright'' @ error/constitute.c/ReadImage/532.'
Finished the 'MediumWatermark' rendition.
Below mentioned is my extraRendition_definitions.hda
ImageMagick=/usr/local/bin/convert
ImageMagic_Watermark=-resize 352x300> -font -pointsize 24 -draw
@ResultSet ImageLibrary
6
extRenditionName
extEngine
extType
extSourceFile
extParameters
extDescription
MediumWatermark
<$ImageMagick$>
Extra
<$InFilePath$>
<$ImageMagic_Watermark$> "gravity south fill white text 0,0 'copyright'" "<$inFile$>" "<$outFile$>.jpg"
Medium rendition in 352x300 pixels with watermark
@end
Mentioned below is the delegates installed for ImageMagick
DELEGATES freetype jpeg tiff
I am able to covert the same using command line
convert -resize 352x300 -font -pointsize 24 -draw "gravity south fill white text 0,0 'abcd'" input.jpg output.jpg
Kindly help to resolve the above issue, Please advice if I am missing any configurations.
Thanks and Regards,
Basudev