@Override
    protected void onNewResultImpl(@Nullable EncodedImage newResult, @Status int status) {
      if (newResult == null) {
        getConsumer().onNewResult(null, status);
        return;
      }
      if (!EncodedImage.isMetaDataAvailable(newResult)) {
        newResult.parseMetaData();
      }
      getConsumer().onNewResult(newResult, status);
    }
Add image transform meta data producer

<p>Extracts meta data from the results passed down from the next producer, and adds it to the
result that it returns to the consumer.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/AddImageTransformMetaDataProducer.java