Dynamic Media: CMYK to RGB Conversion with DPI and Pixel Dimension Preservation Fails for Large Assets

This article addresses limitations and workarounds when generating full-resolution RGB JPEG renditions from high-resolution CMYK source assets in Adobe Experience Manager Dynamic Media.

Description description

Environment


Adobe Experience Manager Dynamic Media (all versions)


Issue/Symptoms


When configuring Dynamic Media Image Presets to generate RGB JPEG renditions from high-resolution CMYK source assets (such as TIFF, PSD, or JPEG) with the following requirements:

  • Color space conversion from CMYK to sRGB
  • DPI metadata preserved at 300
  • Pixel dimensions identical to the source asset (no downscaling)
  • Aspect ratio preserved

The following issues occur for very large assets (e.g., 15,720 × 18,697 pixels, 294 megapixels, 300 DPI, ICC profile: ISO Coated v2 300% (ECI)):

  • If no explicit width/height is set in the Image Preset (or scl=1 is used), output is silently downscaled to approximately 1,077 × 1,280 pixels, governed by the defaultPix setting.
  • If scl=1 is used and the requested output exceeds the maxPix limit, the following error is returned:
illegal image size
  • The Dynamic Media image server enforces a hard limit (typically 25 megapixels) on the size of images it can serve. Requests exceeding this limit either fail or are downscaled.

Attempts to increase the maxPix or defaultPix settings for the tenant are not supported at the platform level. The use case of delivering full-resolution, print-quality assets exceeds the intended web delivery constraints of Dynamic Media.

For reference, see the Dynamic Media Image Serving API: rgn parameter documentation.

Resolution resolution

  1. Understand Dynamic Media Limitations

    • Dynamic Media is optimized for web delivery and enforces a hard limit on the maximum pixel count (maxPix, typically 25MP) for transformed images.
    • Even with Dynamic Media with Open APIs, transformed images are limited to 8,000 pixels on the largest dimension.
  2. Identify High-Resolution Print Masters

    • Implement a DAM Update Asset customization or workflow to detect large CMYK assets:

      • Check MIME type (TIFF, PSD, JPEG).
      • If color space is CMYK and dimensions exceed 25MP or 10,000 pixels on any side, flag as a high-resolution print master (e.g., set dam:usageClass = "hires-print-master").
  3. Offline Conversion Workflow

    • For flagged assets, perform conversion outside Dynamic Media:

      • Extract the original binary from AEM.

      • Use a custom Asset Compute worker, Photoshop API, or another image service to:

        • Convert color space from CMYK to sRGB.
        • Preserve original pixel dimensions (no resampling).
        • Set resolution to 300 DPI.
        • Output as JPEG (or TIFF if required).
      • Store the converted asset back in AEM as a separate rendition or asset.

  4. Alternative: Tiling with rgn Parameter

    • For use cases requiring partial delivery, use the rgn parameter to request image tiles, then reassemble externally. See rgn parameter documentation.
    • Note: This approach is not suitable for all workflows and may require additional tooling.

Cause

Dynamic Media image servers enforce strict pixel count limits for performance and scalability. Full-resolution, print-quality asset delivery must be handled outside of Dynamic Media transforms.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f