Back to Fresco

WebpTranscoderImpl

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

3.6.014.0 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

WebpTranscoderImpl

extends Object
implements WebpTranscoder

| java.lang.Object | | ↳ | com.facebook.imagepipeline.nativecode.WebpTranscoderImpl |

Class Overview

Helper methods for modifying webp static images.

Summary

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

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface com.facebook.imagepipeline.nativecode.WebpTranscoder

| abstract boolean | isWebpNativelySupported(ImageFormat webpFormat) | | abstract void | transcodeWebpToJpeg(InputStream inputStream, OutputStream outputStream, int quality) Transcodes webp image given by input stream into jpeg. | | abstract void | transcodeWebpToPng(InputStream inputStream, OutputStream outputStream) Transcodes Webp image given by input stream into png. |

|

Public Constructors

public WebpTranscoderImpl()

Public Methods

public boolean isWebpNativelySupported(ImageFormat webpFormat)

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

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

Transcodes webp image given by input stream into jpeg.

Throws

| IOException | |

public void transcodeWebpToPng(InputStream inputStream, OutputStream outputStream)

Transcodes Webp image given by input stream into png.

Throws

| IOException | |

+Generated by Doclava. +