java.lang.Object | |
↳ | com.facebook.imagepipeline.producers.ResizeAndRotateProducer |
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.
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
|