Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance image attachment handling by caching loaded images and improv… #11699

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

w15eacre
Copy link
Contributor

Enhance image attachment handling by caching loaded images and improving scaling logic

Every image is cached to avoid the recreation of an image, improving performance and efficiency.

Screenshots

Before the optimization(4Mb)
before1

After
after1

Testing strategy

Manual Testing: Verified the changes by manually testing various image attachment scenarios.

Type of change

  • ✅ Refactor (significant modification to existing code)

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.

1 participant