Class OptimizeOp


  • public class OptimizeOp
    extends Operation
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      OptimizeOp()
      See #CreateOptimizedImageOp(double, Quality).
      OptimizeOp​(double scale)
      See #CreateOptimizedImageOp(double, Quality).
      OptimizeOp​(double scale, Quality quality)
      Creates a version of this image which is optimized for bit-blit operations on the current display.
    • Constructor Detail

      • OptimizeOp

        public OptimizeOp​(double scale,
                          Quality quality)
        Creates a version of this image which is optimized for bit-blit operations on the current display. This usually means that the image is reduced to 8-bits-per-sample, converted to the sRGB color profile and changed to the proper ColorModel and SampleModel.
        Parameters:
        scale - the scale
        quality - the quality
      • OptimizeOp

        public OptimizeOp()
        See #CreateOptimizedImageOp(double, Quality). The used interpolation type is the fastest possible, usually nearest neighbor.
      • OptimizeOp

        public OptimizeOp​(double scale)
        See #CreateOptimizedImageOp(double, Quality). The used interpolation type is the fastest possible, usually nearest neighbor.
        Parameters:
        scale - the scale
    • Method Detail

      • getScale

        public double getScale()
      • getQuality

        public Quality getQuality()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object