Introduction
Introduction Statistics Contact Development Disclaimer Help
Do not enlarge pictures in quinq-size. - various - Various utilities developed …
git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinw…
Log
Files
Refs
Tags
---
commit 3c90f4e394feef2e67962bf3d6d02d01bb628a22
parent f73345a2bafe79e034ffe3b27a1758e5482962cc
Author: Quentin Rameau <[email protected]>
Date: Sun, 25 Sep 2022 17:16:55 +0200
Do not enlarge pictures in quinq-size.
We only want to shrink them,
not enlarge them if they're smaller
than the target size.
Diffstat:
M quinq-size | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/quinq-size b/quinq-size
@@ -12,7 +12,7 @@ function toquinqsize {
output="${filename%.*}_quinqsize.${filename##*.}"
case "${mimetype}" in
image/*)
- convert "$filename" -resize 1024 "${output}";
+ convert "$filename" -resize '1024>' "${output}";
;;
video/*)
ffmpeg -i "${filename}" -vf scale=800:-1 "${output}";
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.