mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
export interface RotateOptions {
|
|
rotate: 0 | 90 | 180 | 270;
|
|
}
|
|
|
|
export const defaultOptions: RotateOptions = { rotate: 0 };
|
|
|
|
export interface RotateModuleInstance {
|
|
exports: {
|
|
memory: WebAssembly.Memory;
|
|
rotate(width: number, height: number, rotate: 0 | 90 | 180 | 270): void;
|
|
};
|
|
}
|