Package 

Enum DownsampleStrategy.SampleSizeRounding

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum DownsampleStrategy.SampleSizeRounding
    
                        

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

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MEMORY

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

      QUALITY

      Prefer 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.