04-08-2020 04:15 AM
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 ?
04-08-2020 05:15 AM
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
04-08-2020 05:15 AM
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
04-08-2020 08:02 AM
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 ?
04-08-2020 08:40 AM
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.
04-08-2020 09:04 AM
Hi @Renestox2,
Yes, if you could raise an issue that would be really helpful.
Explore our Alfresco products with the links below. Use labels to filter content by product module.