adobe / adobe/aem-import-helper

Add image format conversion support to local asset flow

Open
#72 0 comments 0 reactions 1 assignee Claimed by @hmehta-adobe View on GitHub
bug
Dominant language
JavaScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The local asset flow (`--local-assets` option) currently does not support automatic conversion of modern image formats (webp, avif, heic) to PNG, while the remote download flow has this capability. This creates an inconsistency where users get different behavior depending on whether assets are sourced locally or downloaded from remote URLs.

## Expected Behavior
Both local and remote asset flows should behave consistently:
- When `--images-to-png=true` (default), both flows should convert webp/avif/heic images to PNG
- Conversion should respect `DO_NOT_CONVERT_EXTENSIONS` (jpg, jpeg, png, gif, svg, ico should not be converted)
- If conversion fails, fall back to copying the original file with a warning

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.