Hello,
i upgraded from 6.1.2 to 6.2.0. Im Using the https://github.com/Alfresco/acs-community-deployment helm Chart.
With 6.2.0 the rednering of the image is made in the pod alfresco-imagemagick:2.1.1. But for some reason the resolution changed instead of using 1024 height and scaling the width, it now does diffrent things with each document. Sometimes ist changes the scale and usally it only does 824 height.
My Bean Config (worked in 6.1.2):
<bean id="xxxx" class="org.alfresco.repo.rendition2.RenditionDefinition2Impl">
<constructor-arg name="renditionName" value="xxx"/>
<constructor-arg name="targetMimetype" value="image/png"/>
<constructor-arg name="transformOptions">
<map>
<entry key="resizeWidth" value="1024"/>
<entry key="resizeHeight" value="1024"/>
<entry key="allowEnlargement" value="false" />
<entry key="maintainAspectRatio" value="true"/>
<entry key="thumbnail" value="true"/>
<entry key="timeout" value="${system.thumbnail.definition.default.timeoutMs}" />
</map>
</constructor-arg>
<constructor-arg name="registry" ref="renditionDefinitionRegistry2"/>
</bean>
How can i configure the new alfresco-imagemagick:2.1.1 Image, that it always does either height or width (wich ever is larger) to 1024 px and scale the other side ?
Solved! Go to Solution.
Hi,
Thanks for the feedback. I wonder if you've hit this issue ?
https://github.com/Alfresco/alfresco-transform-core/issues/191
https://issues.alfresco.com/jira/browse/ATS-688
If so, this regression is fixed for next release of T-Core (T-Engines) 2.2.0-A1 which should be available soon (later this week or early next week):
https://github.com/Alfresco/alfresco-transform-core/pull/195
In the meantime, you can temporarily try "latest", eg.
https://hub.docker.com/r/alfresco/alfresco-imagemagick/tags
Regards,
Jan
Hi,
Thanks for the feedback. I wonder if you've hit this issue ?
https://github.com/Alfresco/alfresco-transform-core/issues/191
https://issues.alfresco.com/jira/browse/ATS-688
If so, this regression is fixed for next release of T-Core (T-Engines) 2.2.0-A1 which should be available soon (later this week or early next week):
https://github.com/Alfresco/alfresco-transform-core/pull/195
In the meantime, you can temporarily try "latest", eg.
https://hub.docker.com/r/alfresco/alfresco-imagemagick/tags
Regards,
Jan
Thanks for the quick response.
I just tested the latest version. The scaling of the previews are now fixed and always correct.
Also PNG,JPEG files are correctly rendered to 1024 px. PDF files however are still rendered to 842 px. Should i open an issue on https://github.com/Alfresco/alfresco-transform-core/issues as this does not seem like a configuration issue ?
Good to know, thanks.
Yes, please feel free to open a new issue (for PDF) if you have exact repeatable steps with sample file & screenshots if possible, thanks.
Hi @Renestox2,
Yes, if you could raise an issue that would be really helpful.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.