# jp2kdecimator

The jp2kdecimator element removes information from JPEG2000 images without reencoding.

## Example launch line

     gst-launch-1.0 -v videotestsrc num-buffers=1 ! jp2kenc ! \
       gstjp2kdecimator max-decomposition-levels=2 ! jp2kdec ! \
       videoconvert ! autovideosink

This pipelines encodes a test image to JPEG2000, only keeps 3 decomposition levels decodes the decimated image again and shows it on the screen.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──jp2kdecimator

## Factory details

Authors: – Sebastian Dröge <sebastian.droege@collabora.co.uk></sebastian.droege@collabora.co.uk>

Classification: – `Filter/Image`

Rank – none

Plugin – jp2kdecimator

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    image/x-jpc:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/x-jpc:

Presence – always

Direction – src

Object type – GstPad

## Properties

### max-decomposition-levels

    “max-decomposition-levels” gint

Maximum number of decomposition levels to keep (-1 == all)

Flags : Read / Write

Default value : -1

### max-layers

    “max-layers” gint

Maximum number of layers to keep (0 == all)

Flags : Read / Write

Default value : 0

The results of the search are