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