PsdImage class Null safety

Inheritance

Constructors

PsdImage(List<int> bytes)

Properties

backgroundColor int
The suggested background color of the canvas.
read / write, inherited
channels int
read / write
colorMode int?
read / write
depth int?
read / write
hasAlpha bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
The height of the image canvas.
read / write, inherited
imageResources Map<int, PsdImageResource>
final
isValid bool
read-only
layers List<PsdLayer>
read / write
mergedImage Image?
read / write
mergeImageChannels List<PsdChannel>
read / write
numFrames int
The number of frames that can be decoded.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signature int?
read / write
version int?
read / write
width int
The width of the image canvas.
read / write, inherited

Methods

decode() bool
decodeImage() Image?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
renderImage() Image
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

createImageFromChannels(int? colorMode, int? bitDepth, int width, int height, List<PsdChannel> channelList) Image

Constants

COLORMODE_BITMAP → const int
0
COLORMODE_CMYK → const int
4
COLORMODE_DUOTONE → const int
8
COLORMODE_GRAYSCALE → const int
1
COLORMODE_INDEXED → const int
2
COLORMODE_LAB → const int
9
COLORMODE_MULTICHANNEL → const int
7
COLORMODE_RGB → const int
3
RESOURCE_BLOCK_SIGNATURE → const int
0x3842494d
SIGNATURE → const int
0x38425053