-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum DownsampleStrategy.SampleSizeRoundingIndicates whether to prefer to prefer downsampling or scaling to prefer lower memory usage orhigher quality.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MEMORYPrefer to round the sample size up so that the image is downsampled to smaller than therequested size to use less memory.
QUALITYPrefer to round the sample size down so that the image is downsampled to larger than therequested size to maintain quality at the expense of extra memory usage.
-
Method Summary
Modifier and Type Method Description static Array<DownsampleStrategy.SampleSizeRounding>values()static DownsampleStrategy.SampleSizeRoundingvalueOf(String name)-
-
Method Detail
-
values
static Array<DownsampleStrategy.SampleSizeRounding> values()
-
valueOf
static DownsampleStrategy.SampleSizeRounding valueOf(String name)
-
-
-
-