PsdImage class

Inheritance

Constructors

PsdImage(List<int> bytes)

Properties

channels int
read / write
colorMode int
read / write
depth int
read / write
hasAlpha bool
read / write
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
signature int
read / write
version int
read / write
backgroundColor int
The suggested background color of the canvas.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
The height of the image canvas.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int
The width of the image canvas.
read / write, inherited

Methods

decode() bool
decodeImage() Image
renderImage() Image
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 ==(dynamic 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