mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-18 02:16:01 +01:00
fixed sharpen errors
This commit is contained in:
parent
fca812aabe
commit
18cbfd8b50
@ -137,7 +137,7 @@ ipcMain.on(commands.SHARPEN, async (event, payload) => {
|
|||||||
return outFile;
|
return outFile;
|
||||||
} else {
|
} else {
|
||||||
let upscayl = spawn(
|
let upscayl = spawn(
|
||||||
execPath + "-realesr",
|
execPath + "-realsr",
|
||||||
[
|
[
|
||||||
"-i",
|
"-i",
|
||||||
inputDir + "/" + fullfileName,
|
inputDir + "/" + fullfileName,
|
||||||
|
@ -155,7 +155,7 @@ const Home = () => {
|
|||||||
scaleFactor: 4,
|
scaleFactor: 4,
|
||||||
imagePath,
|
imagePath,
|
||||||
outputPath,
|
outputPath,
|
||||||
model: "sharpen",
|
model: "models-DF2K",
|
||||||
});
|
});
|
||||||
console.log("🚀 => upscaylHandler => sharpenedImage", sharpenedImage);
|
console.log("🚀 => upscaylHandler => sharpenedImage", sharpenedImage);
|
||||||
} else {
|
} else {
|
||||||
|
BIN
sharpened/Screenshot 2021-02-19 112858_sharpen.png
Normal file
BIN
sharpened/Screenshot 2021-02-19 112858_sharpen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 MiB |
BIN
sharpened/Trollface_non-free_sharpen.png
Normal file
BIN
sharpened/Trollface_non-free_sharpen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
Loading…
Reference in New Issue
Block a user