ImageDecoder.Factory


public interface ImageDecoder.Factory


A factory for image decoders.

Summary

Constants

default static final ImageDecoder.Factory

This field is deprecated.

Instantiate a BitmapFactoryImageDecoder.Factory directly.

Public methods

abstract ImageDecoder

Creates a new ImageDecoder.

abstract int

Returns the highest Capabilities of the factory's decoders for the given Format.

Constants

DEFAULT

default static final ImageDecoder.Factory DEFAULT

Public methods

createImageDecoder

abstract ImageDecoder createImageDecoder()

Creates a new ImageDecoder.

supportsFormat

@RendererCapabilities.Capabilities
abstract int supportsFormat(Format format)

Returns the highest Capabilities of the factory's decoders for the given Format.

Parameters
Format format

The Format.

Returns
int

The Capabilities of the decoders the factory can instantiate for this format.