SampleSizeRounding

enum SampleSizeRounding

Indicates whether to prefer to prefer downsampling or scaling to prefer lower memory usage or higher quality.

Entries

Link copied to clipboard

Prefer to round the sample size up so that the image is downsampled to smaller than the requested size to use less memory.

Link copied to clipboard

Prefer to round the sample size down so that the image is downsampled to larger than the requested size to maintain quality at the expense of extra memory usage.

Functions

Link copied to clipboard
open fun valueOf(name: String): DownsampleStrategy.SampleSizeRounding
Link copied to clipboard
open fun values(): Array<DownsampleStrategy.SampleSizeRounding>