Skip to content

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

Merged
droidmonkey merged 1 commit intokeepassxreboot:developfrom
w15eacre:fix/3383_hash_images_in_preview
Feb 23, 2025
Merged

Enhance image attachment handling by caching loaded images and improv…#11699
droidmonkey merged 1 commit intokeepassxreboot:developfrom
w15eacre:fix/3383_hash_images_in_preview

Conversation

@w15eacre
Copy link
Copy Markdown
Contributor

@w15eacre w15eacre commented Jan 26, 2025

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)

@w15eacre
Copy link
Copy Markdown
Contributor Author

Extract a helpful feature from this PR because PR will be implemented later

@droidmonkey droidmonkey added this to the v2.7.10 milestone Feb 23, 2025
@droidmonkey droidmonkey force-pushed the fix/3383_hash_images_in_preview branch from abf7ef1 to 56b39fd Compare February 23, 2025 13:41
@droidmonkey droidmonkey merged commit af2d0b1 into keepassxreboot:develop Feb 23, 2025
11 checks passed
@w15eacre w15eacre deleted the fix/3383_hash_images_in_preview branch February 23, 2025 23:02
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