Supported platforms

Imaging Transcoding Library is available only for RHEL 8, RHEL 7 and CentOS 7 distributions.

NOTE
Mac OS and other *nix distributions (for example, Debian and Ubuntu) are not supported.

Usage

The command line arguments for Imaging Transcoding Library can include the following:

 -destMime PNG/JPEG: Mime type of output rendition
 -BitDepth 8/16: Preserves Bit Depth. Bitdepth '4' is automatically converted to '8'
 -preserveBitDepth: Downscales Bit Depth (No upscaling)
 -preserveCMYK: Preserves CMYK color space
 -jpegQuality: Provides jpeg quality parameter (0-12 , corresponding to Photoshop qualities)
 -ResamplingMethod BiCubic/Lanczos/PSBicubic: Provides resampling methods. PSBicubic is a Photoshop quality resampling method.
 -resize

You can configure the following options for the -resize parameter:

  • X: Works similar to Experience Manager. For example, -resize 319.
  • WxH: Aspect ratio is not maintained, For example, -resize 319x319.
  • Wx: Fixes the width and calculates the height maintaining the aspect ratio. For example, -resize 319x.
  • xH: Fixes the height and calculates the width maintaining the aspect ratio. For example, -resize x319.
 -AllowUpsampling (Resizes smaller images)
 -input <fileName>
 -output <fileName>

Configure Imaging Transcoding Library

To configure ITL processing, create a configuration file and update the workflow to execute it.

Create configuration file for extracted bundle

To configure the library, create a CONF file to indicate the libraries using the following steps. You need administrator or root permissions.

  1. Download the Imaging Transcoding Library package from Software Distribution and install it using the Package Manager. The package is compatible with Experience Manager 6.5.

  2. To know a bundle id for com.day.cq.dam.cq-dam-switchengine, log in to the Web Console and click OSGi > Bundles. Alternatively, to open the bundles console, access https://[aem_server:[port]/system/console/bundles/ URL. Locate com.day.cq.dam.cq-dam-switchengine bundle and its ID.

  3. Ensure that all the required libraries are extracted, by checking the folder using the command ls -la /aem65/author/crx-quickstart/launchpad/felix/bundle<id>/data/binaries/, where the folder name is constructed using the bundle ID. For example, the command is ls -la /aem65/author/crx-quickstart/launchpad/felix/bundle588/data/binaries/ if bundle id is 588.

  4. Create SWitchEngineLibs.conf file to link to the library.

    cd `/etc/ld.so.conf.d`
    touch SWitchEngineLibs.conf
    vi SWitchEngineLibs.conf
    
  5. Add /aem65/author/crx-quickstart/launchpad/felix/bundle<id>/data/binaries/ path to the conf file using cat SWitchEngineLibs.conf command.

  6. Execute ldconfig command to create the necessary links and cache.

  7. In the account that is used to start Experience Manager, edit .bash_profile file. Add LD_LIBRARY_PATH by adding the following.

    LD_LIBRARY_PATH=.
    export LD_LIBRARY_PATH
    
  8. To ensure that the value of the path is set to ., use echo $LD_LIBRARY_PATH command. The output should just be .. If the value is not set to ., restart the session.

Experience Manager


Elevate and Empower Teams with Agentic AI for Exceptional Experiences

Online | Strategy Keynote | General Audience

Elevate and empower your CX teams with AI that transforms creativity, personalization, and productivity. Discover how Adobe is...

Tue, Mar 18, 1:00 PM PDT (8:00 PM UTC)

Register

How Adobe Uses GenStudio to Supercharge Its Global Marketing Organization

In-person | Session | General Audience

Get an inside look at how Adobe’s global marketing organization is using Adobe GenStudio to build a world-class content supply chain....

Tue, Mar 18, 4:00 PM PDT (11:00 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more