ag-psd
Version:
Library for reading and writing PSD files
46 lines • 2.64 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Compression = exports.ChannelID = exports.LayerCompCapturedInfo = exports.SectionDividerType = exports.ColorMode = void 0;
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 = exports.ColorMode || (exports.ColorMode = {}));
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 = exports.SectionDividerType || (exports.SectionDividerType = {}));
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 = exports.LayerCompCapturedInfo || (exports.LayerCompCapturedInfo = {}));
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 = exports.ChannelID || (exports.ChannelID = {}));
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 = exports.Compression || (exports.Compression = {}));
//# sourceMappingURL=psd.js.map