Package 

Class WebpTranscodeProducer

  • All Implemented Interfaces:
    com.facebook.imagepipeline.producers.Producer

    
    public class WebpTranscodeProducer
     implements Producer<EncodedImage>
                        

    Transcodes WebP to JPEG / PNG.

    If processed image is one of VP8, VP8X or VP8L non-animated WebPs then it is transcoded to jpeg if the decoder on the running version of Android does not support this format. This was the case prior to version 4.2.1.

    If the image is not WebP, no transformation is applied.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String PRODUCER_NAME
    • Method Summary

      Modifier and Type Method Description
      void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
      • Methods inherited from class com.facebook.imagepipeline.producers.Producer

        produceResults
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait