UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

11 lines (10 loc) 242 B
export default function getImageParameters(image) { return { width: image.width, height: image.height, components: image.components, alpha: image.alpha, colorModel: image.colorModel, bitDepth: image.bitDepth, }; }