랭킹으로 돌아가기

wingjay/BlurImageView

Java

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
주간 성장
이슈
4
5001k
2023년 4월2024년 5월2025년 6월2026년 7월
아티팩트Mavengit clone https://github.com/wingjay/BlurImageView.git
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.

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

🔎🖼 A JavaScript library for zooming images like Medium

JavaScriptnpmMIT Licenseimagepicture
medium-zoom.francoischalifour.com
3.9k167
mathieudutour/medium-to-own-blog

Switch from Medium to your own blog in a few minutes

JavaScriptnpmMIT Licensemediumgatsby
3k105
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.

KotlinApache License 2.0daggerandroid
2.1k212
inulute/medium-unlocker

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

JavaMavenMIT Licensebypass-paywallsmedium
medium-unlocker.inulute.com
1.7k111
und3fined/medium-unlocker

Read Medium content without limit!

JavaScriptnpmMozilla Public License 2.0medium-unlockermedium
medium.und3fined.com
1.6k73
Xatta-Trone/medium-parser-extension

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

JavaScriptnpmMIT Licensemediummedium-article
1.6k98
ngryman/reading-time

:books: Medium's like reading time estimation.

TypeScriptnpmMIT Licensereading-timemedium
ngryman.sh
1.4k48
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.2k96
michelson/dante2

A complete rewrite of dante editor in draft-js

JavaScriptnpmwysiwyg-editorreactjs
michelson.github.io/dante2/
912121