<bean id="transformer.PdfToImage"
class="org.alfresco.repo.content.transform.PdfToImageContentTransformer"
parent="baseContentTransformer" >
</bean>
<bean id="transformer.complex.PDF.Image"
class="org.alfresco.repo.content.transform.ComplexContentTransformer"
parent="baseContentTransformer" >
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>application/pdf</value></property>
<property name="targetMimetype"><value>image/jpeg</value></property>
</bean>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>application/pdf</value></property>
<property name="targetMimetype"><value>image/png</value></property>
</bean>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>application/pdf</value></property>
<property name="targetMimetype"><value>image/gif</value></property>
</bean>
</list>
</property>
<property name="transformers">
<list>
<ref bean="transformer.PdfToImage" />
<ref bean="transformer.ImageMagick" />
</list>
</property>
<property name="intermediateMimetypes">
<list>
<value>image/png</value>
</list>
</property>
</bean>
# External locations
#————-
ooo.exe=C:/Alfresco/OpenOffice.org/program/soffice
img.root=C:/Alfresco/ImageMagick
img.exe=C:/Alfresco/ImageMagick/bin/convert.exe
swf.exe=C:/Alfresco/bin/pdf2swf
Et dans le log de démarrage, je n'ai rien en rapport avec ImageMagick.Ce qui est bon signe, sinon vous auriez une insulte du genre :
00:50:55,584 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
En même temps c'est facile à tester avec un simple JPEG->PNG par exemple (qui lui, fonctionne par défaut).Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.