Bulk removal of shadows and backgrounds from product images in AEM Dynamic Media

This article explains the available options for programmatically and in bulk removing shadows and backgrounds from product images when using AEM Dynamic Media (Scene7), and outlines recommended workflows.

Description description

Environment

AEM Dynamic Media (Scene7) (all versions)

Issue/Symptoms

  • Some product images contain unwanted shadows or backgrounds.
  • There is a need to remove these elements programmatically and in bulk using Scene7 presets or built-in functionality.

Cause

Scene7 (AEM Dynamic Media) image presets do not provide automated background or shadow removal. This must be performed as a one-time asset preparation step before uploading to Scene7.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Select a representative sample of your product images.
  2. Check if the images already have transparent backgrounds (for example, PNG with alpha channel).
  3. If images have transparency, use an alpha-compatible format such as PNG. In Scene7 delivery configuration, specify fmt=png-alpha to preserve transparency.
  4. If images have embedded backgrounds or shadows, remove backgrounds and shadows from the source assets using an external image-editing or background-removal workflow (such as Photoshop batch actions, third-party background removal tools, or automation scripts).
  5. Save the processed images in a format that preserves transparency (such as PNG).
  6. Validate the output images to ensure quality and consistency.
  7. Upload or replace the cleaned assets in Scene7.
  8. Continue using your existing Scene7 image presets for resizing and delivery.
  9. Test a representative set of processed images in a non-production environment to confirm results meet expectations before updating production assets.
recommendation-more-help
experience-cloud-kcs-help-kbarticles