# Struct oxipng::png::IhdrData [−] [src]

    pub struct IhdrData {
        pub width: u32,
        pub height: u32,
        pub color_type: ColorType,
        pub bit_depth: BitDepth,
        pub compression: u8,
        pub filter: u8,
        pub interlaced: u8,
    }

Headers from the IHDR chunk of the image

## Fields

`width` | The width of the image in pixels
`height` | The height of the image in pixels
`color_type` | The color type of the image
`bit_depth` | The bit depth of the image
`compression` | The compression method used for this image (0 for DEFLATE)
`filter` | The filter mode used for this image (currently only 0 is valid)
`interlaced` | The interlacing mode of the image (0 = None, 1 = Adam7)

## Trait Implementations

### Derived Implementations

### `impl Copy for IhdrData`

### `impl Clone for IhdrData`

#### `fn clone(&self) -> IhdrData`

#### `fn clone_from(&mut self, source: &Self)`1.0.0

### `impl Debug for IhdrData`

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)