Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.pictures.tiles.default.config--environment

This contribution is part of XML component org.nuxeo.ecm.platform.pictures.tiles.default.config inside nuxeo-platform-imaging-tiling-5.6.jar

Extension point

Extension point environment of component PictureTilingComponent.

Contributed items

  • <environment>
        <parameters>
          <!-- Gimp path variables -->
          <parameter name="GimpExecutable">gimp</parameter>
          <!-- ImageMagick path variables -->
          <parameter name="IMConvert">convert</parameter>
          <parameter name="IMIdentify">identify</parameter>
          <parameter name="IMStream">stream</parameter>
          <!-- global env variables -->
          <parameter name="WorkingDirPath">/tmp/</parameter>
          <!-- Max Disk cache usage in KB -->
          <parameter name="MaxDiskSpaceUsageForCache">50000</parameter>
          <!-- GC Interval in Minutes -->
          <parameter name="GCInterval">10</parameter>
    
          <!-- Image dimensions threshold tiling activation -->
          <parameter name="WidthThreshold">1200</parameter>
          <parameter name="HeightThreshold">1200</parameter>
        </parameters>
      </environment>

XML source

<extension point="environment" target="org.nuxeo.ecm.platform.pictures.tiles.service.PictureTilingComponent">

  <environment>
    <parameters>
      <!-- Gimp path variables -->
      <parameter name="GimpExecutable">gimp</parameter>
      <!-- ImageMagick path variables -->
      <parameter name="IMConvert">convert</parameter>
      <parameter name="IMIdentify">identify</parameter>
      <parameter name="IMStream">stream</parameter>
      <!-- global env variables -->
      <parameter name="WorkingDirPath">/tmp/</parameter>
      <!-- Max Disk cache usage in KB -->
      <parameter name="MaxDiskSpaceUsageForCache">50000</parameter>
      <!-- GC Interval in Minutes -->
      <parameter name="GCInterval">10</parameter>

      <!-- Image dimensions threshold tiling activation -->
      <parameter name="WidthThreshold">1200</parameter>
      <parameter name="HeightThreshold">1200</parameter>
    </parameters>
  </environment>

  </extension>