public class

ResizeAndRotateProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.ResizeAndRotateProducer

Class Overview

Resizes and rotates JPEG image according to the EXIF orientation data or a specified rotation angle.

If the image is not JPEG, no transformation is applied.

This can be used even if downsampling is enabled as long as resizing is disabled in the constructor.

Summary

Constants
String PRODUCER_NAME
Public Constructors
ResizeAndRotateProducer(Executor executor, PooledByteBufferFactory pooledByteBufferFactory, boolean resizingEnabled, Producer<EncodedImage> inputProducer, boolean useDownsamplingRatio)
Public Methods
void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Constants

public static final String PRODUCER_NAME

Constant Value: "ResizeAndRotateProducer"

Public Constructors

public ResizeAndRotateProducer (Executor executor, PooledByteBufferFactory pooledByteBufferFactory, boolean resizingEnabled, Producer<EncodedImage> inputProducer, boolean useDownsamplingRatio)

Public Methods

public void produceResults (Consumer<EncodedImage> consumer, ProducerContext context)