ColorDepth

Inheritance: java.lang.Object, java.lang.Enum < ColorDepth > com.aspose.pdf.devices.ColorDepth, java.lang.Enum < ColorDepth >, com.aspose.pdf.devices.ColorDepth

All Implemented Interfaces: Serializable, Comparable < ColorDepth >

public enum ColorDepth extends Enum < ColorDepth >

Used to specify the parameter value passed to a Tiff image device.

Fields

FieldDescription
DefaultDefault color depth
Format1bpp1 bit per pixel.
Format24bppRgb 24 bit depth.
Format4bpp4 bits per pixel.
Format8bpp8 bits per pixel.

Methods

MethodDescription
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

Default

public static final ColorDepth Default

Default color depth

Format1bpp

public static final ColorDepth Format1bpp

1 bit per pixel.

Format24bpp

public static final ColorDepth Format24bpp

Rgb 24 bit depth.

Format4bpp

public static final ColorDepth Format4bpp

4 bits per pixel.

Format8bpp

public static final ColorDepth Format8bpp

8 bits per pixel.

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static ColorDepth [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared