com.facebook.imagepipeline.transcoder.ImageTranscoderFactory |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract ImageTranscoder |
createImageTranscoder(ImageFormat imageFormat, boolean isResizingEnabled)
Creates an
ImageTranscoder that enables or disables resizing depending on isResizingEnabled . |
Creates an ImageTranscoder
that enables or disables resizing depending on isResizingEnabled
. It can return null if the ImageFormat
is not supported by this
ImageTranscoder
.
Note that if JPEG images are not supported, we will fallback to our native ImageTranscoder
implementation.
imageFormat | the ImageFormat of the input images. |
---|---|
isResizingEnabled | true if resizing is allowed. |
ImageTranscoder
or null if the image format is not supported.