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

Add an API to always render images at the original size #1706

Merged
merged 11 commits into from Jan 16, 2022

Conversation

gpeal
Copy link
Collaborator

@gpeal gpeal commented Dec 25, 2020

This allows apps that set custom images to provide images that are smaller than the original image to save memory.

Fixes #1968

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@hello-soon
Copy link

the merge request was interrupted,

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@gpeal gpeal changed the title Reduce bitmap drawing size for large images or low density devices Add an API to always render images at the original size Jan 16, 2022
@gpeal gpeal merged commit c5b8318 into master Jan 16, 2022
@gpeal gpeal deleted the gpeal/scaled-bitmap branch January 16, 2022 05:45
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.

Bitmaps held in memory are too large causing big spikes in memory consumption
4 participants