Class ColorTransform
java.lang.Object
com.twelvemonkeys.imageio.plugins.webp.lossless.ColorTransform
- All Implemented Interfaces:
Transform
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyInverse
(WritableRaster raster) private static void
colorTransform
(int red, int blue, int green, ColorTransform.ColorTransformElement trans, int[] newRedBlue) private static byte
colorTransformDelta
(byte t, byte c)
-
Field Details
-
data
-
bits
private final byte bits
-
-
Constructor Details
-
ColorTransform
-
-
Method Details
-
applyInverse
- Specified by:
applyInverse
in interfaceTransform
-
colorTransform
private static void colorTransform(int red, int blue, int green, ColorTransform.ColorTransformElement trans, int[] newRedBlue) -
colorTransformDelta
private static byte colorTransformDelta(byte t, byte c)
-