public class


extends Object
   ↳ com.facebook.imagepipeline.bitmaps.EmptyJpegGenerator

Class Overview

Producer that emits a dummy, fixed-size JPEG bytearray.

The purpose of this jpeg is to serve as the source for a purgeable bitmap which will in turn have its contents overwritten, enabling us to copy into a purgeable bitmap.


Public Constructors
EmptyJpegGenerator(PooledByteBufferFactory pooledByteBufferFactory)
Public Methods
CloseableReference<PooledByteBuffer> generate(short width, short height)
Inherited Methods
From class java.lang.Object

Public Constructors

public EmptyJpegGenerator (PooledByteBufferFactory pooledByteBufferFactory)

Public Methods

public CloseableReference<PooledByteBuffer> generate (short width, short height)