mirror of
https://github.com/upscayl/upscayl.git
synced 2026-02-19 11:55:37 -05:00
Add compression
This commit is contained in:
3
common/types/types.d.ts
vendored
3
common/types/types.d.ts
vendored
@@ -6,6 +6,7 @@ export type ImageUpscaylPayload = {
|
||||
gpuId: string;
|
||||
saveImageAs: string;
|
||||
overwrite: boolean;
|
||||
compression: number;
|
||||
noImageProcessing: boolean;
|
||||
};
|
||||
|
||||
@@ -16,6 +17,7 @@ export type DoubleUpscaylPayload = {
|
||||
scale: string;
|
||||
gpuId: string;
|
||||
saveImageAs: string;
|
||||
compression: number;
|
||||
noImageProcessing: boolean;
|
||||
};
|
||||
|
||||
@@ -26,5 +28,6 @@ export type BatchUpscaylPayload = {
|
||||
gpuId: string;
|
||||
saveImageAs: string;
|
||||
scale: string;
|
||||
compression: number;
|
||||
noImageProcessing: boolean;
|
||||
};
|
||||
|
||||
@@ -449,6 +449,7 @@ const Home = () => {
|
||||
saveImageAs,
|
||||
scale,
|
||||
noImageProcessing,
|
||||
compression,
|
||||
});
|
||||
logit("🏁 DOUBLE_UPSCAYL");
|
||||
} else if (batchMode) {
|
||||
@@ -462,6 +463,7 @@ const Home = () => {
|
||||
saveImageAs,
|
||||
scale,
|
||||
noImageProcessing,
|
||||
compression,
|
||||
});
|
||||
logit("🏁 FOLDER_UPSCAYL");
|
||||
} else {
|
||||
@@ -475,6 +477,7 @@ const Home = () => {
|
||||
scale,
|
||||
overwrite,
|
||||
noImageProcessing,
|
||||
compression,
|
||||
});
|
||||
logit("🏁 UPSCAYL");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user