<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Renditions: Multipage conversions for TIFF, PDF? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/renditions-multipage-conversions-for-tiff-pdf/m-p/256772#M209902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate it very much, if Alfresco image transformations would handle multi-page images (e.g. tiff) correctly - be it in your use case or any other. There have been posts about "document.transformImage()" and features alike for at least the past 5 years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why only the first page is transformed is still in the Alfresco code, see class org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void transformInternal(File sourceFile, File targetFile, TransformationOptions options) throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; properties.put(VAR_SOURCE, sourceFile.getAbsolutePath() + "[0]"); // &amp;lt;– bad idea??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "[0]" tells ImageMagick to apply the transformation for the first page only. I don't know if there is a reason/necessity for this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyway, multi-page image files are quite common, especially in a business environment with electronic document management processes. Multi-page TIFF with CCITT Group4 encoding for example is a very popular archive format. So Alfresco features should be able to handle them correctly.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Feb 2012 19:50:12 GMT</pubDate>
    <dc:creator>brainsfear</dc:creator>
    <dc:date>2012-02-25T19:50:12Z</dc:date>
    <item>
      <title>Renditions: Multipage conversions for TIFF, PDF?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/renditions-multipage-conversions-for-tiff-pdf/m-p/256771#M209901</link>
      <description>Hey all,Would it be a good idea or reasonable to have Alfresco, on a multi-page format entry, to support a 'rendition scheme' to convert all the individual pages of a TIFF or a PDF into single-PNG files (or other single-page formats, where there would be multiple images for each single multi-page or</description>
      <pubDate>Fri, 22 Apr 2011 17:26:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/renditions-multipage-conversions-for-tiff-pdf/m-p/256771#M209901</guid>
      <dc:creator>dhartford</dc:creator>
      <dc:date>2011-04-22T17:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Renditions: Multipage conversions for TIFF, PDF?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/renditions-multipage-conversions-for-tiff-pdf/m-p/256772#M209902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate it very much, if Alfresco image transformations would handle multi-page images (e.g. tiff) correctly - be it in your use case or any other. There have been posts about "document.transformImage()" and features alike for at least the past 5 years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why only the first page is transformed is still in the Alfresco code, see class org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void transformInternal(File sourceFile, File targetFile, TransformationOptions options) throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; properties.put(VAR_SOURCE, sourceFile.getAbsolutePath() + "[0]"); // &amp;lt;– bad idea??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "[0]" tells ImageMagick to apply the transformation for the first page only. I don't know if there is a reason/necessity for this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyway, multi-page image files are quite common, especially in a business environment with electronic document management processes. Multi-page TIFF with CCITT Group4 encoding for example is a very popular archive format. So Alfresco features should be able to handle them correctly.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 19:50:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/renditions-multipage-conversions-for-tiff-pdf/m-p/256772#M209902</guid>
      <dc:creator>brainsfear</dc:creator>
      <dc:date>2012-02-25T19:50:12Z</dc:date>
    </item>
  </channel>
</rss>

