<?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 Conditional transformation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304299#M257429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a way to handle conditional transformation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an example, I only want to perform a particular transformation on a PDF if an ONLY if it is an image only PDF i.e. if the output of say &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'pdf2txt test.pdf | wc -w' returns 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible in the transformation configuration XML or would I need to create a new ComplexContentTransformer ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would realy like to achieve this through configuration only&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 00:50:36 GMT</pubDate>
    <dc:creator>smcardle</dc:creator>
    <dc:date>2013-04-29T00:50:36Z</dc:date>
    <item>
      <title>Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304299#M257429</link>
      <description>Hi AllI am looking for a way to handle conditional transformation.As an example, I only want to perform a particular transformation on a PDF if an ONLY if it is an image only PDF i.e. if the output of say 'pdf2txt test.pdf | wc -w' returns 0.Is this possible in the transformation configuration XML o</description>
      <pubDate>Mon, 29 Apr 2013 00:50:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304299#M257429</guid>
      <dc:creator>smcardle</dc:creator>
      <dc:date>2013-04-29T00:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304300#M257430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trransformation converts between different mimetypes, so assuming that your mimetype is application/pdf (or whatever the correct value is) then it should simply work.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps the first question to ask is what you are starting with and what you want to end up with, then we can be clear whether you are talking about transformation or rendition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 16:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304300#M257430</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-04-29T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304301#M257431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to transform from application/pdf to image/tiff&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know Alfresco already handles this, however, as always, it's not that simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only want this transformer to run on image only PDF's (scanned pages) and NOT on any PDF in the same Folder that already has a searchable text layer, such as an eBook.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this clears it up a bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 22:22:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304301#M257431</guid>
      <dc:creator>smcardle</dc:creator>
      <dc:date>2013-04-29T22:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304302#M257432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think what you are looking for is to read the content from the scanned PDF but actually it contains nothing but kind of Image only.So, It will require OCR(Optical character recognition) tool for achieving that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to integrate some third party tool like kofax in-order to achieve this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 04:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304302#M257432</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-04-30T04:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304303#M257433</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;Actually I will be using Tesseract to do the complex transformation for OCR, but you have not answered my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is, how can I get the transformer to ONLY transform from application/pdf to image/tiff if the PDF is image only ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The rest of the complext transformation is another matter, this already works for many image types and is applied as a rule on the space. The only problem I have at the moment is that I only want the first transformation from application/pdf to image/tiff to occure if the PDF has no text already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 13:32:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304303#M257433</guid>
      <dc:creator>smcardle</dc:creator>
      <dc:date>2013-04-30T13:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional transformation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304304#M257434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;see the existing transformer is not intelligent enough to meetup your requirement so you need to customize&amp;nbsp; that transformer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 05:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/conditional-transformation/m-p/304304#M257434</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-05-03T05:46:38Z</dc:date>
    </item>
  </channel>
</rss>

