Back to Fresco

WebpTranscoder

docs/javadoc/reference/com/facebook/imagepipeline/nativecode/WebpTranscoder.html

3.6.012.5 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Methods | [Expand All]

public interface

WebpTranscoder

| com.facebook.imagepipeline.nativecode.WebpTranscoder |

| Known Indirect Subclasses

WebpTranscoderImpl

| WebpTranscoderImpl | Helper methods for modifying webp static images. |

|

Class Overview

The abstraction for WebpTranscoder

Summary

Public Methods
abstract boolean
abstract void
Transcodes webp image given by input stream into jpeg.
abstract void
Transcodes Webp image given by input stream into png.

Public Methods

public abstract boolean isWebpNativelySupported(ImageFormat webpFormat)

Returns
  • true if given type of WebP is supported natively by the framework

public abstract void transcodeWebpToJpeg(InputStream inputStream, OutputStream outputStream, int quality)

Transcodes webp image given by input stream into jpeg.

Throws

| IOException | |

public abstract void transcodeWebpToPng(InputStream inputStream, OutputStream outputStream)

Transcodes Webp image given by input stream into png.

Throws

| IOException | |

+Generated by Doclava. +