AnsweredAssumed Answered

ImageMagick convert.bin: no decode delegate for this image format `\('

Question asked by lily101288 on Oct 14, 2016
Latest reply on Oct 18, 2016 by kaynezhang

Hello I am new in Alfresco, and my english is not so well.

I am trying to do a thumbnail with Alfresco, includding an image in png as watermak, And i have this error

org.alfresco.service.cmr.repository.ContentIOException - 09140079 Failed to perform ImageMagick transformation: Execution result: os: Linux command: /opt/alfresco-4.2.e_maquina10/common/bin/convert /opt/alfresco-4.2.e_maquina10/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_4398995002839736426.jpg[0] xc:black -gravity South -font Times-Bold -pointsize 227 -draw "fill black text 2,20 '' fill white text 1,19 ''" -composite \( /opt/alfresco-4.2.e_maquina10/fich-watermark/watermark.png -resize 1280x1280 \) -gravity northeast -geometry +20 -composite -auto-orient -resize 5120x3407 /opt/alfresco-4.2.e_maquina10/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_6936148879572183894.jpg succeeded: false exit code: 1 out: err: .convert.bin: unable to open image `\(': No such file or directory @ error/blob.c/OpenBlob/2643. .convert.bin: no decode delegate for this image format `\(' @ error/constitute.c/ReadImage/552. .convert.bin: unable to open image `\)': No such file or

 

But, when i put this command on the console

/opt/alfresco-4.2.e_maquina10/common/bin/convert /opt/alfresco-4.2.e_maquina10/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_source_4398995002839736426.jpg[0] xc:black -gravity South -font Times-Bold -pointsize 227 -draw "fill black text 2,20 '' fill white text 1,19 ''" -composite \( /opt/alfresco-4.2.e_maquina10/fich-watermark/watermark.png -resize 1280x1280 \) -gravity northeast -geometry +20 -composite -auto-orient -resize 5120x3407 /opt/alfresco-4.2.e_maquina10/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_6936148879572183894.jpg

 

ImageMagick make the trasformation well. I think the error coud be the \( special charcater, but i do not know othe way to put the " \( /opt/alfresco-4.2.e_maquina10/fich-watermark/watermark.png -resize 1280x1280 \)" and resize the image and then make the trasformation.

 

My code is there, Thanks so much for the help, and i do not know if my questions are well redacted, i am new in this.

 

 

Outcomes