Add colorspace correction to image resize. - various - Various utilities develo… | |
git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinw… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit c531fab2d0a6f7cb6149469cecf58a30435f70f5 | |
parent f77cfd0acd4ae97febe7ca8382a09b64a6bdba98 | |
Author: eidolon <[email protected]> | |
Date: Tue, 13 Jun 2023 19:36:28 -0400 | |
Add colorspace correction to image resize. | |
Signed-off-by: Christoph Lohmann <[email protected]> | |
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" -colorspace RGB -resize '1024>' -colorspac… | |
;; | |
video/*) | |
ffmpeg -i "${filename}" -vf 'scale=w=min(iw\,800):h=-2' "${out… |