Codec.SelectionPolicy

class SelectionPolicy

For container formats that contain both still images and image sequences, instruct the decoder how the output should be selected.

Members:

kPreferStillImage :

If the container format contains both still images and image sequences, Codec should choose one of the still images. This is the default.

kPreferAnimation :

If the container format contains both still images and image sequences, Codec should choose one of the image sequences for animation.

Methods

__init__

__init__(self: skia.Codec.SelectionPolicy, value: int) -> None

Attributes

kPreferAnimation

kPreferStillImage

name

value

Methods

SelectionPolicy.__init__(self: skia.Codec.SelectionPolicy, value: int) None

__init__(self: skia.Codec.SelectionPolicy, value: int) -> None

Attributes

SelectionPolicy.kPreferAnimation = <SelectionPolicy.kPreferAnimation: 1>
SelectionPolicy.kPreferStillImage = <SelectionPolicy.kPreferStillImage: 0>
SelectionPolicy.name
SelectionPolicy.value