Package it.tidalwave.image.op
Class OptimizeOp
- java.lang.Object
-
- it.tidalwave.image.op.Operation
-
- it.tidalwave.image.op.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualitygetQuality()doublegetScale()java.lang.StringtoString()
-
-
-
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 scalequality- 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:
toStringin classjava.lang.Object
-
-