cancel
Showing results for 
Search instead for 
Did you mean: 

Preview Resolution after upgrade to 6.2.0 has changed

Renesto
Champ on-the-rise
Champ on-the-rise

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 ?

1 ACCEPTED ANSWER

janv
Employee
Employee

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

View answer in original post

4 REPLIES 4

janv
Employee
Employee

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

Renesto
Champ on-the-rise
Champ on-the-rise

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.

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Renestox2

Yes, if you could raise an issue that would be really helpful.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!