ag-psd
Version:
Library for reading and writing PSD files
43 lines • 2.3 kB
JavaScript
export var ColorMode;
(function (ColorMode) {
ColorMode[ColorMode["Bitmap"] = 0] = "Bitmap";
ColorMode[ColorMode["Grayscale"] = 1] = "Grayscale";
ColorMode[ColorMode["Indexed"] = 2] = "Indexed";
ColorMode[ColorMode["RGB"] = 3] = "RGB";
ColorMode[ColorMode["CMYK"] = 4] = "CMYK";
ColorMode[ColorMode["Multichannel"] = 7] = "Multichannel";
ColorMode[ColorMode["Duotone"] = 8] = "Duotone";
ColorMode[ColorMode["Lab"] = 9] = "Lab";
})(ColorMode || (ColorMode = {}));
export var SectionDividerType;
(function (SectionDividerType) {
SectionDividerType[SectionDividerType["Other"] = 0] = "Other";
SectionDividerType[SectionDividerType["OpenFolder"] = 1] = "OpenFolder";
SectionDividerType[SectionDividerType["ClosedFolder"] = 2] = "ClosedFolder";
SectionDividerType[SectionDividerType["BoundingSectionDivider"] = 3] = "BoundingSectionDivider";
})(SectionDividerType || (SectionDividerType = {}));
export var LayerCompCapturedInfo;
(function (LayerCompCapturedInfo) {
LayerCompCapturedInfo[LayerCompCapturedInfo["None"] = 0] = "None";
LayerCompCapturedInfo[LayerCompCapturedInfo["Visibility"] = 1] = "Visibility";
LayerCompCapturedInfo[LayerCompCapturedInfo["Position"] = 2] = "Position";
LayerCompCapturedInfo[LayerCompCapturedInfo["Appearance"] = 4] = "Appearance";
})(LayerCompCapturedInfo || (LayerCompCapturedInfo = {}));
export var ChannelID;
(function (ChannelID) {
ChannelID[ChannelID["Color0"] = 0] = "Color0";
ChannelID[ChannelID["Color1"] = 1] = "Color1";
ChannelID[ChannelID["Color2"] = 2] = "Color2";
ChannelID[ChannelID["Color3"] = 3] = "Color3";
ChannelID[ChannelID["Transparency"] = -1] = "Transparency";
ChannelID[ChannelID["UserMask"] = -2] = "UserMask";
ChannelID[ChannelID["RealUserMask"] = -3] = "RealUserMask";
})(ChannelID || (ChannelID = {}));
export var Compression;
(function (Compression) {
Compression[Compression["RawData"] = 0] = "RawData";
Compression[Compression["RleCompressed"] = 1] = "RleCompressed";
Compression[Compression["ZipWithoutPrediction"] = 2] = "ZipWithoutPrediction";
Compression[Compression["ZipWithPrediction"] = 3] = "ZipWithPrediction";
})(Compression || (Compression = {}));
//# sourceMappingURL=psd.js.map