Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blur#execute() does not honor the value of BlurConfig#overlayColor #28

Open
nikwen opened this issue Aug 4, 2017 · 0 comments
Open

Comments

@nikwen
Copy link
Contributor

nikwen commented Aug 4, 2017

Example code:

Bitmap bitmap = BitmapFactory.decodeResource(resources, R.mipmap.example);

BlurConfig.Builder builder = new BlurConfig.Builder();
builder.overlayColor(Color.argb(136, 255, 255, 255)); // semi-transparent white
Blur blur = new Blur(this, builder.build());
Bitmap result = blur.execute(bitmap, false);

Expected result:

The resulting bitmap has a semi-transparent white overlay painted on top of it.

Actual result:

The overlay is missing. The BlurEngines ignore the value of BlurConfig#overlayColor.

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

No branches or pull requests

1 participant