Package 

Class PostprocessorProducer

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

    
    public class PostprocessorProducer
     implements Producer<CloseableReference<CloseableImage>>
                        

    Runs a caller-supplied post-processor object.

    Post-processors are only supported for static bitmaps. If the request is for an animated image, the post-processor step will be skipped without warning.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      PostprocessorProducer(Producer<CloseableReference<CloseableImage>> inputProducer, PlatformBitmapFactory platformBitmapFactory, Executor executor)
    • Method Summary

      Modifier and Type Method Description
      void produceResults(Consumer<CloseableReference<CloseableImage>> 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
    • Constructor Detail

      • PostprocessorProducer

        PostprocessorProducer(Producer<CloseableReference<CloseableImage>> inputProducer, PlatformBitmapFactory platformBitmapFactory, Executor executor)