mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
* Add sRGB -> RGB conversion before resize * Add clamping for color space conversions * Clip for demultiplication as well * Fixing linear <-> srgb conversion * Update benchmark * Decouple srgb calculations * Generate lookup tables * Update src/codecs/resize/options.tsx * Defaulting on, renaming, removing redundant state
14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
/* tslint:disable */
|
|
/**
|
|
* @param {Uint8Array} arg0
|
|
* @param {number} arg1
|
|
* @param {number} arg2
|
|
* @param {number} arg3
|
|
* @param {number} arg4
|
|
* @param {number} arg5
|
|
* @param {boolean} arg6
|
|
* @param {boolean} arg7
|
|
* @returns {Uint8Array}
|
|
*/
|
|
export function resize(arg0: Uint8Array, arg1: number, arg2: number, arg3: number, arg4: number, arg5: number, arg6: boolean, arg7: boolean): Uint8Array;
|