Skip to content

Dit v3 enhancements Final PR#648

Open
vishalsaxena-devops wants to merge 2 commits into
aws-solutions:mainfrom
punchh:feat/dit-v3-enhancements
Open

Dit v3 enhancements Final PR#648
vishalsaxena-devops wants to merge 2 commits into
aws-solutions:mainfrom
punchh:feat/dit-v3-enhancements

Conversation

@vishalsaxena-devops

Copy link
Copy Markdown

Issue #, if available:

This PR includes all the following issues as discussed with aws folks and this is currently been deployed in shared prod and non-prod that has these fixes included

BMP image format returns 500 error
Fix broken ICO + restore animation for WebP and APNG sources
Prefer AVIF over WebP in format auto-selection
Also cross-region aws bucket mapping support

Description of changes:

Checklist

  • 👋 I have added unit tests for all code changes.
  • 👋 I have run the unit tests, and all unit tests have passed.
  • ⚠️ This pull request might incur a breaking change.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…formats

- Added support for ICO and BMP formats in the image processing service, allowing them to pass through unchanged.
- Implemented detection for animated PNGs (APNG) to ensure they are preserved during processing.
- Updated transformation logic to skip format optimizations for ICO, BMP, SVG, and APNG sources.
- Enhanced unit tests to cover new functionality, including handling of ICO, BMP, and APNG formats.
- Adjusted format priority to prefer WebP over AVIF and added specific tests for format selection based on client acceptance headers.
- Improved handling of animated WebP to prevent conversion to formats that cannot support animation.
@gsingh04

gsingh04 commented Jul 2, 2026

Copy link
Copy Markdown
Member

thanks Vishal for the PR, we will review these changes and evaluate if they can be applied to generic customer use-case.

@gsingh04 gsingh04 self-requested a review July 2, 2026 13:41
@gsingh04 gsingh04 self-assigned this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants