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)
48 lines • 1.03 kB
JavaScript
import { WebPInfo } from './webp-info.js';
export class WebPInfoInternal extends WebPInfo {
constructor() {
super(...arguments);
this._frameCount = 0;
this._frame = 0;
this._alphaSize = 0;
this._vp8Position = 0;
this._vp8Size = 0;
}
get frameCount() {
return this._frameCount;
}
set frameCount(v) {
this._frameCount = v;
}
get frame() {
return this._frame;
}
set frame(v) {
this._frame = v;
}
get alphaData() {
return this._alphaData;
}
set alphaData(v) {
this._alphaData = v;
}
get alphaSize() {
return this._alphaSize;
}
set alphaSize(v) {
this._alphaSize = v;
}
get vp8Position() {
return this._vp8Position;
}
set vp8Position(v) {
this._vp8Position = v;
}
get vp8Size() {
return this._vp8Size;
}
set vp8Size(v) {
this._vp8Size = v;
}
}
//# sourceMappingURL=webp-info-internal.js.map