@Override
            public void run(@Nullable EncodedImage encodedImage, @Status int status) {
              if (encodedImage != null) {
                doTransform(
                    encodedImage,
                    status,
                    Preconditions.checkNotNull(
                        mImageTranscoderFactory.createImageTranscoder(
                            encodedImage.getImageFormat(), mIsResizingEnabled)));
              } else {
                getConsumer().onNewResult(null, status);
              }
            }
Resizes and rotates images according to the EXIF orientation data or a specified rotation angle.

<p>If the image is not supported by the {@link ImageTranscoder}, no transformation is applied.

<p>This can be used even if downsampling is enabled as long as resizing is disabled.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/ResizeAndRotateProducer.java