public interface

BitmapCreator

com.facebook.common.webp.BitmapCreator
Known Indirect Subclasses

Class Overview

This is a utility class we use in order to allocate a Bitmap that will be wrapped later with a CloseableReference

Summary

Public Methods
abstract Bitmap createNakedBitmap(int width, int height, Bitmap.Config bitmapConfig)
This creates a Bitmap with will be then wrapped with a CloseableReference

Public Methods

public abstract Bitmap createNakedBitmap (int width, int height, Bitmap.Config bitmapConfig)

This creates a Bitmap with will be then wrapped with a CloseableReference

Parameters
width The width of the image
height The height of the image
bitmapConfig The Config object to use
Returns
  • The Bitmap