thinker3197 / progressively

A JavaScript library to load images progressively 🌇
https://thinker3197.github.io/progressively
MIT License
698 stars 68 forks source link

Hide blur white curves + cool animations #26

Closed the94air closed 6 years ago

the94air commented 6 years ago
  1. Hide the white edges made by the blur() filter using scale().
  2. Cool animation to return the image to the default scale(1) after loading the image.

This solution inspired by an article in volkerotto.net.

thinker3197 commented 6 years ago

Thanks for this @the94air, I too was thinking to find a fix for those white edges. As for the animation, I strictly wish progressively to be non-opinionated i.e. I want to keep it as raw as it gets. Thus, allowing developers to add animations or other required features if they wish to but progressively doesn't do it by default. If you could remove the animation part from this pr I'll be happy to merge it.

the94air commented 6 years ago

@thinker3197 Done!