summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-01-27 20:18:30 -0600
committermsglm <msglm@techchud.xyz>2023-01-27 20:18:30 -0600
commit358deea32e717a279e204eb613f82b6291816462 (patch)
tree9675befa81df73619df536deffc362b04b4743c6 /.local/bin
parent5d08b951658c7199fb3b08c60fef7432792c2fbd (diff)
downloadmsglm-dotfiles-358deea32e717a279e204eb613f82b6291816462.tar.gz
msglm-dotfiles-358deea32e717a279e204eb613f82b6291816462.tar.bz2
msglm-dotfiles-358deea32e717a279e204eb613f82b6291816462.zip
bug fix
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/sovl-dither6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/sovl-dither b/.local/bin/sovl-dither
index 4e3366f..4b88e20 100755
--- a/.local/bin/sovl-dither
+++ b/.local/bin/sovl-dither
@@ -7,9 +7,9 @@
#Dependencies: https://packages.debian.org/sid/imagemagick https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan
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"
+convert -trim "/tmp/upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o2x2_upscaled_$1.jpg"
+convert -trim "/tmp/upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o3x3_upscaled_$1.jpg"
+convert -trim "/tmp/upscaled_$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o4x4_upscaled_$1.jpg"
convert -trim "$1" -quantize transparent +dither -colors 64 -ordered-dither o2x2 -channel A -contrast-stretch 10% "$2dither_o2x2_$1.jpg"
convert -trim "$1" -quantize transparent +dither -colors 64 -ordered-dither o3x3 -channel A -contrast-stretch 10% "$2dither_o3x3_$1.jpg"
convert -trim "$1" -quantize transparent +dither -colors 64 -ordered-dither o4x4 -channel A -contrast-stretch 10% "$2dither_o4x4_$1.jpg"