Use Camera Raw to process images camera-raw-support

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

You can enable the Camera Raw support to process raw file formats, such as CR2, NEF, and RAF, and render the images in JPEG format. The functionality is supported in Adobe Experience Manager Assets using the Camera Raw package available from Software Distribution.

NOTE
The functionality supports only JPEG renditions. It is supported on Windows 64 bit, Mac OS, and RHEL 7.x.

To enable Camera Raw support in Adobe Experience Manager Assets, follow these steps:

  1. Download the Camera Raw package from the Software Distribution.

  2. Access https://[aem_server]:[port]/workflow. Open the DAM Update Asset workflow.

  3. Open the Process Thumbnails step.

  4. Provide the following configuration in the Thumbnails tab:

    • Thumbnails: 140:100:false, 48:48:false, 319:319:false
    • Skip Mime Types: skip:image/dng, skip:image/x-raw-(.*)

    chlimage

  5. In the Web Enabled Image tab, in the Skip List field, specify audio/mpeg, video/(.*), image/dng, image/x-raw-(.*).

    chlimage

  6. From the side panel, add the Camera Raw/DNG Handler step below the Thumbnail creation step.

  7. In the Camera Raw/DNG Handler step, add the following configuration in the Arguments tab:

    • Mime Types: image/dng and image/x-raw-(.*)

    • Command:

      • DAM_Raw_Converter ${directory}/${filename} ${directory} cq5dam.web.1280.1280.jpeg 1280 1280
      • DAM_Raw_Converter ${directory}/${filename} ${directory} cq5dam.thumbnail.319.319.jpeg 319 319
      • DAM_Raw_Converter ${directory}/${filename} ${directory} cq5dam.thumbnail.140.100.jpeg 140 100
      • DAM_Raw_Converter ${directory}/${filename} ${directory} cq5dam.thumbnail.48.48.jpeg 48 48

    chlimage_1-336

  8. Click Save.

NOTE
Ensure that the above configuration is the same as the Sample DAM Update Asset With Camera RAW and DNG Handling Step configuration.

You can now import camera raw files into Experience Manager Assets. After you install the Camera RAW package and configure the required workflow, Image Adjust option appears in the list of side panes.

chlimage_1-337

Figure: Options in the side pane

chlimage_1-338

Figure: Use option to make lightweight edits to your images

After saving the edits to a Camera Raw image, a new rendition AdjustedPreview.jpg is generated for the image. For other image types except Camera Raw, the changes are reflected in all the renditions.

Best practices, known issues, and limitations best-practices

The functionality has the following limitations:

  • The functionality supports only JPEG renditions. It is supported on Windows 64 Bit, Mac OS, and RHEL 7.x.
  • Metadata writeback is not supported for RAW and DNG formats.
  • The Camera Raw library has limitations around the total pixels it can process at a time. Currently, it can process a maximum of 65000 pixels on the long side of a file or 512 MP whatever criteria is encountered first.
recommendation-more-help
4452738f-2bdf-4cd4-9b45-905a69d607ad