public class

ResizeAndRotateProducer

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

Class Overview

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

If the image is not supported by the ImageTranscoder, no transformation is applied.

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

Summary

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

Public Constructors

public ResizeAndRotateProducer (Executor executor, PooledByteBufferFactory pooledByteBufferFactory, Producer<EncodedImage> inputProducer, boolean isResizingEnabled, ImageTranscoderFactory imageTranscoderFactory)

Public Methods

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