setRegionDecoderFactory

public final void setRegionDecoderFactory(DecoderFactory<? extends ImageRegionDecoder> regionDecoderFactory)

Swap the default region decoder implementation for one of your own. You must do this before setting the image file or asset, and you cannot use a custom decoder when using layout XML to set an asset name.

Parameters

regionDecoderFactory

The DecoderFactory implementation that produces instances.