Skip to content
This repository was archived by the owner on Mar 21, 2019. It is now read-only.

fix(cache-images): respect decodeWidth and decodeHeight when caching images #115

Merged
merged 2 commits into from
Mar 15, 2018

Conversation

ADjenkov
Copy link
Contributor

  • Create new cache entry for images with different decodeHeight and decodeWidth
  • Limit bitmap to device width/height (if image source sizes larger than device ones) when no decode properties set.

Node: Currently we are using the same cached image for single uri (showing the same picture on different pages e.g.) regardless the decodeHeight/decodeHeight properties. The image quality is defined by the first uri using and its decodeHeight/decodeHeight .

@ADjenkov ADjenkov self-assigned this Mar 13, 2018
Copy link

@DimitarTachev DimitarTachev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 🥇 💯

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants