UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

87 lines (86 loc) 2.53 kB
/** @format */ import { InputBuffer } from '../../common/input-buffer.js'; /** * Represents the blending ranges in a PSD file. */ export declare class PsdBlendingRanges { /** * The gray black source value. */ private _grayBlackSrc; /** * Gets the gray black source value. * @returns {number} The gray black source value. */ get grayBlackSrc(): number; /** * The gray white source value. */ private _grayWhiteSrc; /** * Gets the gray white source value. * @returns {number} The gray white source value. */ get grayWhiteSrc(): number; /** * The gray black destination value. */ private _grayBlackDst; /** * Gets the gray black destination value. * @returns {number} The gray black destination value. */ get grayBlackDst(): number; /** * The gray white destination value. */ private _grayWhiteDst; /** * Gets the gray white destination value. * @returns {number} The gray white destination value. */ get grayWhiteDst(): number; /** * The black source values for each channel. */ private _blackSrc; /** * Gets the black source values for each channel. * @returns {Uint16Array | undefined} The black source values. */ get blackSrc(): Uint16Array | undefined; /** * The white source values for each channel. */ private _whiteSrc; /** * Gets the white source values for each channel. * @returns {Uint16Array | undefined} The white source values. */ get whiteSrc(): Uint16Array | undefined; /** * The black destination values for each channel. */ private _blackDst; /** * Gets the black destination values for each channel. * @returns {Uint16Array | undefined} The black destination values. */ get blackDst(): Uint16Array | undefined; /** * The white destination values for each channel. */ private _whiteDst; /** * Gets the white destination values for each channel. * @returns {Uint16Array | undefined} The white destination values. */ get whiteDst(): Uint16Array | undefined; /** * Initializes a new instance of the PsdBlendingRanges class. * @param {InputBuffer<Uint8Array>} input - The input buffer to read from. * - `readUint16`: Reads a 16-bit unsigned integer from the buffer. * - `length`: The length of the buffer. */ constructor(input: InputBuffer<Uint8Array>); }