diff options
author | msglm <msglm@techchud.xyz> | 2023-01-27 20:16:40 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-01-27 20:16:40 -0600 |
commit | 5d08b951658c7199fb3b08c60fef7432792c2fbd (patch) | |
tree | 2188a59d240bf4bbbffa3ab1d889d8ac8fc3ee19 /.local/bin | |
parent | 90658eef55e38ecc977c4a0fd2ebcf92d4123b5d (diff) | |
download | msglm-dotfiles-5d08b951658c7199fb3b08c60fef7432792c2fbd.tar.gz msglm-dotfiles-5d08b951658c7199fb3b08c60fef7432792c2fbd.tar.bz2 msglm-dotfiles-5d08b951658c7199fb3b08c60fef7432792c2fbd.zip |
sovl-dither now stores its upscaled img in the temp folder
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/sovl-dither | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/sovl-dither b/.local/bin/sovl-dither index 290420d..4e3366f 100755 --- a/.local/bin/sovl-dither +++ b/.local/bin/sovl-dither @@ -6,7 +6,7 @@ #Dependencies: https://packages.debian.org/sid/imagemagick https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan -realesrgan -i "$1" -o "upscaled_$1" +realesrgan -i "$1" -o "/tmp/upscaled_$1" convert -trim "upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o2x2_upscaled_$1.jpg" convert -trim "upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o3x3_upscaled_$1.jpg" convert -trim "upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o4x4_upscaled_$1.jpg" |