Skip to content

feat: image compression/resize - #11762

Open
schorschii wants to merge 3 commits into
thunderbird:mainfrom
schorschii:autocompress-images
Open

schorschii wants to merge 3 commits into
thunderbird:mainfrom
schorschii:autocompress-images

Conversation

@schorschii

Copy link
Copy Markdown
Contributor

Contribution Summary

A long wished feature from users is an automatic image compression, similar like Apple Mail and other apps do.

closes #1758, #5763

In the past, there were already multiple cancelled attempts to implement it (#2335, #3845). I'd like to start a new one since I think it would be very useful for many users.

Description & Screenshots

Sending images from smartphones is a very common task and attachment size quickly reaches provider limits with the image file size that current smartphone cameras produce.

This change adds an option "Compress Images" into the compose view. After the user has enabled the feature, it will be automatically activated in the next email too.
Bildschirmfoto vom 2026-10-19 17-27-44

The JPEG quality and resolution can be configured with new options in the app settings.
Bildschirmfoto vom 2026-10-19 17-29-13

If this gets merged, I'd recommend to display the menu items "Enable Encryption" and "Enable PGP Sign-Only" as checkbox too for better UX. I can make a PR for this if you like.

AI Disclosure

Select one of the following (mandatory)

  • This contribution does not include any changes created or assisted by AI.
  • This contribution includes changes assisted by AI.
  • This contribution includes changes created by AI.

Contribution Checklist

  • I have read, and I affirm that my contribution adheres to Mozilla’s Community Participation Guidelines
  • This contribution is in Kotlin where possible
  • This contribution does not use merge commits
  • This contribution adheres to the existing codestyle (run gradlew spotlessCheck to check and gradlew spotlessApply to format your source code; will be checked by CI).
  • This contribution does not break existing unit tests (run gradlew testDebugUnitTest; will be checked by CI).
  • This contribution includes tests for any new functionality and maintains tests for any updated functionality.
  • This contribution adheres to our Engineering process (RFC/Technical Design/ADR)
  • This PR has a descriptive title and body that accurately outlines all changes made and contains a reference to any issues that it fixes (e.g. Closes #XXX or Fixes #XXX).

@github-actions

Copy link
Copy Markdown
Contributor

Missing report label. Set exactly one of: report: include, report: exclude OR report: highlight.

@thunderbird-botmobile thunderbird-botmobile Bot added the pr-sentinel: needs updates Pull request flagged by PR Sentinel for not following guidelines. label Oct 19, 2026
@thunderbird-botmobile thunderbird-botmobile Bot added pr-sentinel: ready for review Passed all automated PR Sentinel checks. Ready for maintainer review. and removed pr-sentinel: needs updates Pull request flagged by PR Sentinel for not following guidelines. labels Oct 19, 2026

This branch was successfully deployed

2 active (1 outdated) deployments
botmobile — aeaedc1f Deployed Oct 19, 2026 by schorschii via PR Sentinel #211
review — 36cfa88e Deployed Oct 19, 2026 by schorschii via label-tb-team #613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-sentinel: ready for review Passed all automated PR Sentinel checks. Ready for maintainer review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request - Resize image in k9mail on the fly

2 participants