PsdDecoder class
Decode a Photoshop PSD image.
Constructors
Properties
Methods
-
decode(
Uint8List bytes, {int? frame}) → Image? -
Decode the file and extract a single image from it. If the file is
animated, the specified
framewill be decoded. If there was a problem decoding the file, null is returned.override -
decodeFrame(
int frame) → Image? -
Decode a single frame from the data stat was set with startDecode.
If
frameis out of the range of available frames, null is returned. Non animated image files will only haveframe0.override -
decodePsd(
Uint8List bytes) → PsdImage? - Decode a raw PSD image without rendering it to a flat image.
-
isValidFile(
Uint8List bytes) → bool -
A light-weight function to test if the given file is able to be decoded
by this Decoder.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numFrames(
) → int -
How many frames are available to be decoded. startDecode should have
been called first. Non animated image files will have a single frame.
override
-
startDecode(
Uint8List bytes) → DecodeInfo? -
Start decoding the data as an animation sequence, but don't actually
process the frames until they are requested with decodeFrame.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited