public class

IterativeBoxBlurPostProcessor

extends BasePostprocessor
java.lang.Object
   ↳ com.facebook.imagepipeline.request.BasePostprocessor
     ↳ com.facebook.imagepipeline.postprocessors.IterativeBoxBlurPostProcessor

Class Overview

A fast and memory-efficient post processor performing an iterative box blur. For details see iterativeBoxBlur(Bitmap, int, int).

Summary

[Expand]
Inherited Fields
From class com.facebook.imagepipeline.request.BasePostprocessor
Public Constructors
IterativeBoxBlurPostProcessor(int blurRadius)
IterativeBoxBlurPostProcessor(int iterations, int blurRadius)
Public Methods
CacheKey getPostprocessorCacheKey()
The default implementation of the CacheKey for a Postprocessor is null
void process(Bitmap bitmap)
Clients should override this method if the post-processing can be done in place.
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.request.BasePostprocessor
From class java.lang.Object
From interface com.facebook.imagepipeline.request.Postprocessor

Public Constructors

public IterativeBoxBlurPostProcessor (int blurRadius)

public IterativeBoxBlurPostProcessor (int iterations, int blurRadius)

Public Methods

public CacheKey getPostprocessorCacheKey ()

The default implementation of the CacheKey for a Postprocessor is null

Returns
  • The CacheKey to use for caching. Not used if null

public void process (Bitmap bitmap)

Clients should override this method if the post-processing can be done in place.

The provided bitmap is a copy of the source bitmap and the implementation is free to modify it.

Parameters
bitmap the bitmap to be used both as input and as output