UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

16 lines (15 loc) 343 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getImageParameters; function getImageParameters(image) { return { width: image.width, height: image.height, components: image.components, alpha: image.alpha, colorModel: image.colorModel, bitDepth: image.bitDepth }; }