Skip to content

chore(root): Crush images with imageOptim for lossless image compression - #3739

Open
imbrianj wants to merge 1 commit into
resend:canaryfrom
imbrianj:imageCrush
Open

chore(root): Crush images with imageOptim for lossless image compression#3739
imbrianj wants to merge 1 commit into
resend:canaryfrom
imbrianj:imageCrush

Conversation

@imbrianj

@imbrianj imbrianj commented Sep 9, 2026

Copy link
Copy Markdown

ImageOptim uses pngcrush, MozJPEG, pngquant, svgo, and other image optimization tools and saves the one with the greatest benefit. This is a lossless change: it removes alpha channels, exif metadata, etc.

I had noticed many assets within react-email were getting pretty significant benefit from crushing and wanted to share upstream. There should be no visual difference with these changes.


Summary by cubic

Compresses all static images in the demo emails with ImageOptim. The lossless compression removes alpha channels, EXIF metadata, and other redundant data with no visual difference.

Written for commit be04778. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

鈿狅笍 No Changeset found

Latest commit: be04778

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant