cancel
Showing results for 
Search instead for 
Did you mean: 

Overriding ImageMagick transformer for image/x-dwg

mycroes
Champ in-the-making
Champ in-the-making
I created a (complex content-)transformer to convert DWG files to PNG images using PDF files as intermediate file format. However, when I request the PNG transformation Alfresco will choose ImageMagick over my own transformer. In debug output it does list my transformer:
15:02:08,993 DEBUG [org.alfresco.repo.content.transform.ContentTransformerRegistry] Searched for transformer: 
   source mimetype: image/x-dwg
   target mimetype: image/png
   transformers: [ProxyContentTransformer[ average=0ms], ComplexContentTransformer[ average=0ms]]

However, it uses ImageMagick as transformer. Is there any way I can specify priority (perhaps an option to influence the reliability factor)?
Regards,

Michael
1 REPLY 1

mycroes
Champ in-the-making
Champ in-the-making
Seems in the end my own content transformer gets used after all (as in after a while), however the log does spit some errors because ImageMagick can't convert the file. It would probably be nice if this wouldn't happen, because it also affects the ImageMagick reliabilty number negatively, even though it's expected that ImageMagick can't cope with the DWG file.
Regards,

Michael
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.