-
- All Implemented Interfaces:
-
com.otaliastudios.transcoder.resize.Resizer
public class MultiResizer implements Resizer
A Resizer that applies a chain of multiple resizers. Of course order matters: the output of a resizer is the input of the next one.
-
-
Constructor Summary
Constructors Constructor Description MultiResizer()MultiResizer(Array<Resizer> resizers)
-
Method Summary
Modifier and Type Method Description voidaddResizer(@NonNull() Resizer resizer)SizegetOutputSize(@NonNull() Size inputSize)Parses the input size and returns the output.This method should throw an exception if the input size is not processable. -
-
Method Detail
-
addResizer
void addResizer(@NonNull() Resizer resizer)
-
getOutputSize
@NonNull() Size getOutputSize(@NonNull() Size inputSize)
Parses the input size and returns the output.This method should throw an exception if the input size is not processable.
- Parameters:
inputSize- the input video size
-
-
-
-