blurRadius not available for loaded images
Closed this issue · 2 comments
Great library but the way it uses blurRadius
makes it impossible for me to use it. I sometimes need to blur a fully loaded image. But, blurRadius
is "captured" here
react-native-image-cache/src/CachedImage.tsx
Line 166 in fe0ce4a
blurRadius
were separated into thumbnailBlurRadius
for loading and blurRadius
that would behave like the react native image prop. If there's interest, I could make and submit a PR for this.Hi Max, thanks for the suggestions, we’re open to PR’s, we want to make this module to fit all possible usages and keep fellow devs happy 😃.
I believe the blurRadius
should default to 0
and let the devs set a higher value if needed and make thumbnailBlurRadius
15
(as it is now under the blurRadius
prop). What do you think?
Sounds reasonable. I have this working on a fork. I'll submit a WIP PR so that you can see the changes and let me know anything else you'd want me to change (changelog, etc)