forked from external-repos/squoosh
14 lines
325 B
TypeScript
14 lines
325 B
TypeScript
export interface EncodeOptions {
|
|
level: number;
|
|
}
|
|
export interface EncoderState { type: typeof type; options: EncodeOptions; }
|
|
|
|
export const type = 'optipng';
|
|
export const label = 'OptiPNG';
|
|
export const mimeType = 'image/png';
|
|
export const extension = 'png';
|
|
|
|
export const defaultOptions: EncodeOptions = {
|
|
level: 2,
|
|
};
|