-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.producers.Producer
public class ResizeAndRotateProducer implements Producer<EncodedImage>
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.
-
-
Constructor Summary
Constructors Constructor Description ResizeAndRotateProducer(Executor executor, PooledByteBufferFactory pooledByteBufferFactory, Producer<EncodedImage> inputProducer, boolean isResizingEnabled, ImageTranscoderFactory imageTranscoderFactory)
-
Method Summary
Modifier and Type Method Description voidproduceResults(Consumer<EncodedImage> consumer, ProducerContext context)-
-
Method Detail
-
produceResults
void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
-
-
-
-