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)

12 lines 363 B
import { BmpInfo } from '../bmp/bmp-info.js'; export class IcoBmpInfo extends BmpInfo { get height() { return Math.floor(this._height / 2); } get ignoreAlphaChannel() { return this.headerSize === 40 && this.bitsPerPixel === 32 ? false : super.ignoreAlphaChannel; } } //# sourceMappingURL=ico-bmp-info.js.map