PngEncoder class
Encode an image to the PNG format.
Constructors
- PngEncoder({int filter: FILTER_PAETH, int level})
Properties
- blendMethod ↔ BlendMode
-
read / write
- channels ↔ Channels
-
read / write
- delay ↔ int
-
read / write
- disposeMethod ↔ DisposeMode
-
read / write
- filter ↔ int
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isAnimated ↔ bool
-
read / write
- level ↔ int
-
read / write
- output ↔ OutputBuffer
-
read / write
- repeat ↔ int
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sequenceNumber ↔ int
-
read / write
- supportsAnimation → bool
-
Does this encoder support animation?
read-only, override
- xOffset ↔ int
-
read / write
- yOffset ↔ int
-
read / write
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 non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Constants
- FILTER_AGRESSIVE → const int
-
5
- FILTER_AVERAGE → const int
-
3
- FILTER_NONE → const int
-
0
- FILTER_PAETH → const int
-
4
- FILTER_SUB → const int
-
1
- FILTER_UP → const int
-
2