Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/QmDeve/QmBlurView-Docs/llms.txt

Use this file to discover all available pages before exploring further.

QmBlurView’s transform module integrates directly with Picasso to apply real-time Gaussian blur effects to images as they are loaded. By passing a BlurTransformation instance into Picasso’s .transform() call, you can blur any image — remote or local — with full control over blur radius and rounded corners, without any additional post-processing step.
Both the QmBlurView transform module and the Picasso library must be present in your dependencies before using BlurTransformation.
dependencies {
    // QmBlurView Transform dependency
    implementation 'com.qmdeve.blurview:transform:1.2.0'

    // Picasso dependency
    implementation 'com.squareup.picasso:picasso:2.8'
}

Import

Add the following import statements to your Java class:
// Picasso main class
import com.squareup.picasso.Picasso;

// QmBlurView blur transformation class
import com.qmdeve.blurview.transform.picasso.BlurTransformation;

Usage Example

Pass a BlurTransformation instance via .transform() when loading an image with Picasso:
Picasso.get()
         .load(R.drawable.image)
         .fit()
         .centerCrop()
         .transform(
            new BlurTransformation(25f, 50)
         )
         .into(imageView);

Constructor Reference

ConstructorDescription
BlurTransformation()Default blur radius 25f, rounded corners 0
BlurTransformation(float blurRadius)Custom blur radius, no rounded corners
BlurTransformation(float blurRadius, float roundedCorners)Custom blur radius and rounded corners
The Picasso and Glide BlurTransformation classes are in different packages — com.qmdeve.blurview.transform.picasso vs com.qmdeve.blurview.transform.glide — make sure to import the correct one.

Build docs developers (and LLMs) love