Failed to perform ImageMagick transformation

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Failed to perform ImageMagick transformation

Jump to solution

2020-10-28 10:51:31,336 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] [localhost-startStop-1] ImageMagickContentTransformerWorker not available: 09280018 Failed to perform ImageMagick transformation:
Execution result:
os: Windows Server 2012 R2
command: C:\alfresco\imagemagick\convert.exe C:\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_init_source_2098491576234267846.gif -strip -quiet C:\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_init_target_5995837865279810316.png
succeeded: false
exit code: 1
out:
err: convert.exe: RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagickModulePath/670.
convert.exe: no decode delegate for this image format `GIF' @ error/constitute.c/ReadImage/509.
convert.exe: no images defined `C:\alfresco\tomcat\tem

1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator

Re: Failed to perform ImageMagick transformation

Jump to solution

Have you set the image magic path correctly in alfresco-global.properties? Make sure you have imagemagic installed locally on the machine. 

According to this ticket, it is mentioned as environment issue: https://issues.alfresco.com/jira/browse/ALF-21941

Example config:

#Alfresco Image Magic config
img.root=C:\\ImageMagick-7.0.10-Q16
img.dyn=${img.root}\\lib
img.exe=${img.root}\\convert
img.coders=${img.root}\\modules\\coders
img.config=${img.root}
img.gslib=${img.root}\\lib

Refer this doc for more details: 

https://docs.alfresco.com/6.0/tasks/imagemagick-config.html

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)

View solution in original post

1 Reply
Highlighted
Moderator
Moderator

Re: Failed to perform ImageMagick transformation

Jump to solution

Have you set the image magic path correctly in alfresco-global.properties? Make sure you have imagemagic installed locally on the machine. 

According to this ticket, it is mentioned as environment issue: https://issues.alfresco.com/jira/browse/ALF-21941

Example config:

#Alfresco Image Magic config
img.root=C:\\ImageMagick-7.0.10-Q16
img.dyn=${img.root}\\lib
img.exe=${img.root}\\convert
img.coders=${img.root}\\modules\\coders
img.config=${img.root}
img.gslib=${img.root}\\lib

Refer this doc for more details: 

https://docs.alfresco.com/6.0/tasks/imagemagick-config.html

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)

View solution in original post