wingjay/BlurImageView

Java
Android

BlurImageView, you can load your image progressively like Medium does.First show user a blurry image, At the same time, load the real image, once loaded, replace the blurry one automatically

mediumstack-blurandroid
스타 성장
스타
1.3k
포크
234
주간 성장
+0
이슈
4
5001k
2023년 4월2024년 5월2025년 7월2026년 9월
아티팩트Maven
README

Android Arsenal

BlurImageView

BlurImageView For Android, you can load your image progressively like Medium.

How it works?

  1. First it will show user a blurry image;
  2. At the same time, it starts to load the real image;
  3. once loaded, replace the blurry one automatically.

Playable apk

You can Download sample apk and play on your phone. Try it!

Why I do this?

This lib is inspired by Medium and users love this way of loading pics, Because a beautiful Blurry pic is always better than a blank area or an ugly thumbnail.

How to get it?

Simply add the dependency

dependencies {
	compile 'com.wingjay:blurimageviewlib:2.0.1'
}

How to use it?

    BlurImageView blurImageView = (BlurImageView) findViewById(R.id.XXX);
    blurImageView.setBlurImageByUrl(blurImageUrl);

This will load and blur a image.

  BlurImageView fullBlurImageView = (BlurImageView) findViewById(R.id.XXX)
  fullBlurImageView.setFullImageByUrl(blurImageUrl, normalImageUrl);

This will load two images progressively.

  blurImageView.setBlurFactor(blurFactor);

This can set the factor of blurry, default 8 - 10.

  blurImageView.setFailDrawable(Drawable failDrawable);
  blurImageView.setDefaultDrawable(Drawable defaultDrawable);

Configure your own drawable for loading failure & default. Use null to remove them.

Thanks for the algorithms: Stack Blur: http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html

Reach me - wingjay

Weibo: http://weibo.com/u/1625892654

Blog: http://wingjay.com/

GitHub: https://github.com/wingjay

Feel free to give me advices by <mailto:yinjiesh AT 126 DOT com>

Thanks!

관련 저장소
manojVivek/medium-unlimited

A browser extension to read medium.com articles for free without membership.

JavaScriptnpmappGNU General Public License v3.0chrome-extensionjavascript
manojvivek.github.io/medium-unlimited/
5.5k445
francoischalifour/medium-zoom

🔎🖼 A JavaScript library for zooming images like Medium

JavaScriptnpmlibraryMIT Licenseimagepicture
medium-zoom.francoischalifour.com
3.9k168
mathieudutour/medium-to-own-blog

Switch from Medium to your own blog in a few minutes

JavaScriptnpmtutorialMIT Licensemediumgatsby
3k103
rpearce/react-medium-image-zoom

🔎 🏞 The original medium.com-inspired image zooming library for React (since 2016)

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenseimage-zoommedium
rpearce.github.io/react-medium-image-zoom/
2.1k104
ZacSweers/CatchUp

An app for catching up on things.

KotlinappApache License 2.0daggerandroid
2.1k210
inulute/freedium-app

Medium Unlocker (now Freedium App) is an android app designed to access Medium, NYT, Bloomberg, Washington Post, Financial Times, Reuters, The Economist articles without any paywalls.

JavaMavenappMIT Licensebypass-paywallsmedium
medium-unlocker.inulute.com
1.8k113
inulute/medium-unlocker

Medium Unlocker is an android app designed to access Medium articles without any paywalls.

JavaMavenappMIT Licensebypass-paywallsmedium
medium-unlocker.inulute.com
1.8k113
und3fined/medium-unlocker

Read Medium content without limit!

JavaScriptnpmappMozilla Public License 2.0medium-unlockermedium
medium.und3fined.com
1.6k74
Xatta-Trone/medium-parser-extension

Read medium.com and medium based articles using google web cache.

JavaScriptnpmappMIT Licensemediummedium-article
1.6k97
ngryman/reading-time

:books: Medium's like reading time estimation.

TypeScriptnpmlibraryMIT Licensereading-timemedium
ngryman.sh
1.4k47
btw-so/btw

Open source Medium alternative- set up your personal blog in minutes.

JavaScriptnpmGNU General Public License v3.0personal-blogwebsite-builder
btw.so
1.3k101
michelson/dante2

A complete rewrite of dante editor in draft-js

JavaScriptnpmlibrarywysiwyg-editorreactjs
michelson.github.io/dante2/
911114