Process images using Adobe Camera Raw camera-raw-support
You can enable the Adobe 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.
To enable Camera Raw support in Experience Manager Assets, follow these steps:
-
Download the Camera Raw package from Software Distribution.
-
Access
https://[aem_server]:[port]/workflow
. Open the DAM Update Asset workflow. -
Edit the Process Thumbnails step.
-
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-(.*)
- Thumbnails:
-
In the Web Enabled Image tab, in the Skip List field, specify
audio/mpeg, video/(.*), image/dng, image/x-raw-(.*)
. -
From the side panel, add the Camera Raw/DNG Handler step below the Process Thumbnails step.
-
In the Camera Raw/DNG Handler step, add the following configuration in the Arguments tab:
-
Mime Types:
image/dng
andimage/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
-
-
Click Save.
You can now import camera raw files into Assets. After you install the Camera RAW package and configure the required workflow, Image Adjust option appears in the list of side panes.
Figure: Options in the side pane.
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.