psd_sdk library

Classes

AlphaChannel
A class representing an alpha channel in a Photoshop document.
AlphaChannelMode
A class containing constants that define the different modes of an alpha channel.
Channel
A class representing a channel in a Photoshop layer.
Document
A class representing a Photoshop document and its contents.
ExportDocument
A class representing a Photoshop document for export operations.
File
A base class that provides common functionality for handling binary file data.
ImageUtil
A utility class for handling image data operations in Photoshop documents.
Layer
A class representing a layer in a Photoshop document.
LayerMask
A class representing a layer mask in a Photoshop layer.
LayerMaskSection
A class representing the Layer Mask section of a Photoshop document.
LayerRect
An interface defining the rectangular boundaries of a layer in a Photoshop document.
Mask
A base class representing a mask in a Photoshop layer.
PsdLogging
A public interface for controlling logging functionality in the PSD SDK.
VectorMask
A class representing a vector mask in a Photoshop layer.

Enums

BlendMode
An enumeration representing the blend modes supported by Photoshop for layer compositing.
ChannelType
An enumeration representing the different types of channels in a Photoshop document.
ColorMode
An enumeration representing the color modes supported by Adobe Photoshop.
CompressionType
An enumeration representing the compression methods supported by Photoshop for PSD files.
ExportChannel
An enumeration representing the channels that can be exported to a PSD document's Layer Mask section.
ExportColorMode
An enumeration representing the color modes supported for exporting PSD documents.

Functions

blendModeKeyToEnum(int key) BlendMode
Converts a blend mode key to its corresponding BlendMode enum value.
interleaveRGB(Uint8List? srcR, Uint8List? srcG, Uint8List? srcB, num alpha, int bitsPerChannel, int width, int height, [int blockSize = 4]) Uint8List?
Converts planar RGB color data into interleaved RGBA format with a constant alpha value.
interleaveRGBA(Uint8List? srcR, Uint8List? srcG, Uint8List? srcB, Uint8List? srcA, int bitsPerChannel, int width, int height, [int blockSize = 4]) Uint8List?
Converts planar RGBA color data into interleaved RGBA format.

Typedefs

LogHandler = void Function(String level, String channel, String message)
Function signature for custom log handlers