
This delegates loading of Wasm modules to Webpack itself, making wrapper code simpler. Emscripten-generated modules are still using custom loading glue as they're not compatible with Webpack.
14 lines
539 B
TypeScript
14 lines
539 B
TypeScript
/* tslint:disable */
|
|
/**
|
|
* @param {Uint8Array} input_image
|
|
* @param {number} input_width
|
|
* @param {number} input_height
|
|
* @param {number} output_width
|
|
* @param {number} output_height
|
|
* @param {number} typ_idx
|
|
* @param {boolean} premultiply
|
|
* @param {boolean} color_space_conversion
|
|
* @returns {Uint8Array}
|
|
*/
|
|
export function resize(input_image: Uint8Array, input_width: number, input_height: number, output_width: number, output_height: number, typ_idx: number, premultiply: boolean, color_space_conversion: boolean): Uint8Array;
|