12-18-2013 04:49 AM
12-18-2013 07:09 AM
convert -compress jpeg -density 100 input.pdf output.pdf
<bean id="loftux.thumbnail.pdfcompressed" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" ref="thumbnailRegistry" />
<property name="targetMethod" value="addThumbnailDefinition" />
<property name="arguments">
<list>
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
<property name="name" value="pdfcompressed" />
<property name="mimetype" value="application/pdf"/>
<property name="transformationOptions">
<bean parent="defaultImageTransformationOptions">
<property name="commandOptions">
<value>-compress jpeg -density 100 ${source} ${target}</value>
</property>
</bean>
</property>
<property name="runAs" value="System"/>
<property name="failureHandlingOptions" ref="standardFailureOptions"/>
</bean>
</list>
</property>
</bean>
01-09-2014 09:27 AM
02-06-2014 08:03 AM
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.