# pnmdec

Decodes pnm images.

## Example launch line

     gst-launch-1.0 filesrc location=test.pnm ! pnmdec ! videoconvert ! autovideosink

The above pipeline reads a pnm file and renders it to the screen.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──pnmdec

## Factory details

Authors: – Lutz Mueller

Classification: – `Codec/Decoder/Image`

Rank – primary

Plugin – pnm

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    image/x-portable-bitmap:
    image/x-portable-graymap:
    image/x-portable-pixmap:
    image/x-portable-anymap:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { RGB, GRAY8, GRAY16_BE, GRAY16_LE }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

The results of the search are