-
- 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 StringPRODUCER_NAME
-
Constructor Summary
Constructors Constructor Description WebpTranscodeProducer(Executor executor, PooledByteBufferFactory pooledByteBufferFactory, Producer<EncodedImage> inputProducer)
-
Method Summary
Modifier and Type Method Description voidproduceResults(Consumer<EncodedImage> consumer, ProducerContext context)-
-
Method Detail
-
produceResults
void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
-
-
-
-