**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

| Field | Description |
| --- | --- |
| [Default](#Default) | Default color depth |
| [Format1bpp](#Format1bpp) | 1 bit per pixel. |
| [Format24bpp](#Format24bpp) | Rgb 24 bit depth. |
| [Format4bpp](#Format4bpp) | 4 bits per pixel. |
| [Format8bpp](#Format8bpp) | 8 bits per pixel. |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Default {#Default}
```
public static final ColorDepth Default
```

Default color depth

### Format1bpp {#Format1bpp}
```
public static final ColorDepth Format1bpp
```

1 bit per pixel.

### Format24bpp {#Format24bpp}
```
public static final ColorDepth Format24bpp
```

Rgb 24 bit depth.

### Format4bpp {#Format4bpp}
```
public static final ColorDepth Format4bpp
```

4 bits per pixel.

### Format8bpp {#Format8bpp}
```
public static final ColorDepth Format8bpp
```

8 bits per pixel.

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#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
