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)
33 lines • 820 B
JavaScript
export class IcoInfoImage {
get width() {
return this._width;
}
get height() {
return this._height;
}
get colorPalette() {
return this._colorPalette;
}
get bytesSize() {
return this._bytesSize;
}
get bytesOffset() {
return this._bytesOffset;
}
get colorPlanes() {
return this._colorPlanes;
}
get bitsPerPixel() {
return this._bitsPerPixel;
}
constructor(opt) {
this._width = opt.width;
this._height = opt.height;
this._colorPalette = opt.colorPalette;
this._bytesSize = opt.bytesSize;
this._bytesOffset = opt.bytesOffset;
this._colorPlanes = opt.colorPlanes;
this._bitsPerPixel = opt.bitsPerPixel;
}
}
//# sourceMappingURL=ico-info-image.js.map