diff options
author | luxagraf <sng@luxagraf.net> | 2020-02-16 15:57:40 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-02-16 15:57:40 -0500 |
commit | 2a9538f7711dcea71ba5702ca94a9d9c00287ea4 (patch) | |
tree | e0fe5ea7c909b01e10bf6a8dd4abcb619b6924c9 /bin/smartresize.sh | |
parent | 3165ef5abdb298108efa2ba3d339f70ca966315a (diff) |
added the rest of bin
Diffstat (limited to 'bin/smartresize.sh')
-rwxr-xr-x | bin/smartresize.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/smartresize.sh b/bin/smartresize.sh new file mode 100755 index 0000000..b38771e --- /dev/null +++ b/bin/smartresize.sh @@ -0,0 +1,3 @@ +smartresize() { + mogrify -path $3 -filter Triangle -define filter:support=2 -thumbnail $2 -unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB $1 +} |