PngEncoder class

Encode an image to the PNG format.

Inheritance

Constructors

PngEncoder({int filter = FILTER_PAETH, int? level})

Properties

blendMethod BlendMode
getter/setter pair
channels Channels?
getter/setter pair
delay int?
getter/setter pair
disposeMethod DisposeMode
getter/setter pair
filter int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
getter/setter pair
level int?
getter/setter pair
output OutputBuffer?
getter/setter pair
repeat int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int
getter/setter pair
supportsAnimation bool
Does this encoder support animation?
no setteroverride
textData Map<String, String>?
getter/setter pair
xOffset int
getter/setter pair
yOffset int
getter/setter pair

Methods

addFrame(Image image) → void
encodeAnimation(Animation anim) List<int>?
Encode an animation.
override
encodeImage(Image image) List<int>
Encode a single frame image.
override
finish() List<int>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

FILTER_AGRESSIVE → const int
FILTER_AVERAGE → const int
FILTER_NONE → const int
FILTER_PAETH → const int
FILTER_SUB → const int
FILTER_UP → const int