Platform Explorer / Nuxeo Platform 9.2

Component org.nuxeo.ecm.user.center.profile.converters

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.center.profile.converters">

  <extension target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl"
    point="converter">

    <converter name="resizeAvatar" class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpg</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">resizeAvatar</parameter>
      </parameters>
    </converter>

  </extension>

</component>