com.nostra13.universalimageloader.core.process
Interface BitmapProcessor


public interface BitmapProcessor

Makes some processing on Bitmap. Implementations can apply any changes to original Bitmap.
Implementations have to be thread-safe.

Since:
1.8.0
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Method Summary
 android.graphics.Bitmap process(android.graphics.Bitmap bitmap)
          Makes some processing of incoming bitmap.
 

Method Detail

process

android.graphics.Bitmap process(android.graphics.Bitmap bitmap)
Makes some processing of incoming bitmap.
This method is executing on additional thread (not on UI thread).
Note: If this processor is used as pre-processor then don't forget to recycle incoming bitmap if you return a new created one.

Parameters:
bitmap - Original bitmap
Returns:
Processed bitmap


Copyright © 2011-2014. All Rights Reserved.