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)

32 lines 712 B
export class JpegInfo { constructor() { this._width = 0; this._height = 0; this._numFrames = 1; this._backgroundColor = undefined; this._numComponents = 0; } get width() { return this._width; } get height() { return this._height; } get numFrames() { return this._numFrames; } get backgroundColor() { return this._backgroundColor; } get numComponents() { return this._numComponents; } set numComponents(v) { this._numComponents = v; } setSize(width, height) { this._width = width; this._height = height; } } //# sourceMappingURL=jpeg-info.js.map