# webpenc

Opaque data structure.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──webpenc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Sreerenj Balachandran

Classification: – `Codec/Encoder/Image`

Rank – primary

Plugin – webp

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

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

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/webp:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 16, 16383 ]
             height: [ 16, 16383 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### lossless

    “lossless” gboolean

Enable lossless encoding

Flags : Read / Write

Default value : false

### preset

    “preset” Webp-enc-preset *

Preset name for visual tuning

Flags : Read / Write

Default value : photo (2)

### quality

    “quality” gfloat

quality level, between 0 (smallest file) and 100 (biggest)

Flags : Read / Write

Default value : 90

### speed

    “speed” guint

quality/speed trade-off (0=fast, 6=slower-better)

Flags : Read / Write

Default value : 4

## Named constants

### Webp-enc-preset

#### Members

`none` (0) – Default
`picture` (1) – Digital picture,inner shot
`photo` (2) – Outdoor photo, natural lighting
`drawing` (3) – Hand or Line drawing
`icon` (4) – Small-sized colorful images
`text` (5) – text-like

The results of the search are