public enum ColorDepth extends Enum<ColorDepth>
Used to specify the parameter value passed to a Tiff image device.
Enum Constant and Description |
---|
Default
Default color depth
|
Format1bpp
1 bit per pixel.
|
Format24bpp
Rgb 24 bit depth.
|
Format4bpp
4 bits per pixel.
|
Format8bpp
8 bits per pixel.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ColorDepth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorDepth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorDepth Default
Default color depth
public static final ColorDepth Format24bpp
Rgb 24 bit depth.
public static final ColorDepth Format8bpp
8 bits per pixel. Equal PixelFormat.Format8bppIndexed
public static final ColorDepth Format4bpp
4 bits per pixel. Equal PixelFormat.Format4bppIndexed
public static final ColorDepth Format1bpp
1 bit per pixel. Equal PixelFormat.Format32bppRgb
public static ColorDepth[] values()
for (ColorDepth c : ColorDepth.values()) System.out.println(c);
public static ColorDepth valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2025 Aspose. All Rights Reserved.