mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
Exposed speed slider, but it's weird
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export interface EncodeOptions {
|
||||
speed: number;
|
||||
}
|
||||
|
||||
export interface EncoderState { type: typeof type; options: EncodeOptions; }
|
||||
@@ -9,4 +10,5 @@ export const mimeType = 'image/jpegxl';
|
||||
export const extension = 'jxl';
|
||||
// These come from struct WebPConfig in encode.h.
|
||||
export const defaultOptions: EncodeOptions = {
|
||||
speed: 1,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user