-
- All Implemented Interfaces:
-
com.otaliastudios.transcoder.resize.Resizer
public class ExactResizer implements Resizer
A Resizer that returns the exact dimensions that were passed to the constructor.
-
-
Constructor Summary
Constructors Constructor Description ExactResizer(int first, int second)ExactResizer(Size size)
-
Method Summary
Modifier and Type Method Description 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. -
-
Constructor Detail
-
ExactResizer
ExactResizer(int first, int second)
-
ExactResizer
ExactResizer(Size size)
-
-
Method Detail
-
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
-
-
-
-