# pngenc

Encodes png images.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──pngenc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Jeremy SIMON <jsimon13@yahoo.fr></jsimon13@yahoo.fr>

Classification: – `Codec/Encoder/Image`

Rank – primary

Plugin – png

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

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

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/png:
              width: [ 1, 1000000 ]
             height: [ 1, 1000000 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### compression-level

    “compression-level” guint

PNG compression level

Flags : Read / Write

Default value : 6

### snapshot

    “snapshot” gboolean

Send EOS after encoding a frame, useful for snapshots

Flags : Read / Write

Default value : false

The results of the search are