<?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: Change the directory which ImageMagick performs content transformations in in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93208#M27575</link>
    <description>&lt;P&gt;Thanks for the replies. I appreciate it. The reason I want to change it is because the&amp;nbsp;&lt;SPAN&gt;/tmp folder is also on the root partition and it is causing the root storage to fill up resulting in critical low space issues. I would like to change the location to somewhere which is not on the root partition so ImageMagick can perform the transformations there.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 14:50:50 GMT</pubDate>
    <dc:creator>robertscally</dc:creator>
    <dc:date>2019-12-20T14:50:50Z</dc:date>
    <item>
      <title>Change the directory which ImageMagick performs content transformations in</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93205#M27572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hopefully someone can help me. Is there a way to change the directory in which ImageMagick transforms files?&lt;/P&gt;&lt;P&gt;Currently the directory which is used is the following for example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/usr/bin/convert /tmp/tomcat7-tomcat7-tmp/Alfresco/ImageMagickContentTransformerWorker_source_2093513773506443120.pdf[0] -auto-orient -resize "100x100&amp;gt;" /tmp/tomcat7-tomcat7-tmp/Alfresco/ImageMagickContentTransformerWorker_target_3052645852772444004.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible to change the directory from&amp;nbsp;/tmp/tomcat7-tomcat7-tmp/Alfresco to a directory elsewhere?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 16:57:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93205#M27572</guid>
      <dc:creator>robertscally</dc:creator>
      <dc:date>2019-12-19T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change the directory which ImageMagick performs content transformations in</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93206#M27573</link>
      <description>&lt;P&gt;This property is fixed in the source code.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/content/transform/magick/ImageMagickContentTransformerWorker.java#L116" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/content/transform/magick/ImageMagickContentTransformerWorker.java#L116&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So I guess that you cannot change the path, but overwriting this Java class to set your own.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:35:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93206#M27573</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-12-20T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change the directory which ImageMagick performs content transformations in</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93207#M27574</link>
      <description>&lt;P&gt;There is a temp directory setting for Content Services and ImageMagick performs transformations there (in a subdirectory). Is there a specific reason you want to modify the transformation location?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:45:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93207#M27574</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-12-20T13:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change the directory which ImageMagick performs content transformations in</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93208#M27575</link>
      <description>&lt;P&gt;Thanks for the replies. I appreciate it. The reason I want to change it is because the&amp;nbsp;&lt;SPAN&gt;/tmp folder is also on the root partition and it is causing the root storage to fill up resulting in critical low space issues. I would like to change the location to somewhere which is not on the root partition so ImageMagick can perform the transformations there.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 14:50:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93208#M27575</guid>
      <dc:creator>robertscally</dc:creator>
      <dc:date>2019-12-20T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change the directory which ImageMagick performs content transformations in</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93209#M27576</link>
      <description>&lt;P&gt;The temp path depends on following property set at OS level.&lt;/P&gt;
&lt;P&gt;"java.io.tmpdir"&lt;/P&gt;
&lt;P&gt;You can change temp folder path by changing the value.&lt;/P&gt;
&lt;PRE class="lang-java prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;java &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Djava&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;io&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;tmpdir&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=/nonroot&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;path&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;to&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;tmpdirSomethingElse&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This would solve the problem of having the temp folder &lt;SPAN&gt;on the root partition as you mentioned. Change the path to a non root location.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please note that if you change the&amp;nbsp;&amp;nbsp;"java.io.tmpdir" path, it would change the path for all the operations which alfresco does in temp location such as imagic magic transformations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can not specifically change the path of only image magic transformation as mentioned by Angel.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 15:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-the-directory-which-imagemagick-performs-content/m-p/93209#M27576</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-12-20T15:29:14Z</dc:date>
    </item>
  </channel>
</rss>

