URI: 
       Add colorspace correction to image resize. - various - Various utilities developed at bitreich.
  HTML git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
       ---
   DIR commit c531fab2d0a6f7cb6149469cecf58a30435f70f5
   DIR parent f77cfd0acd4ae97febe7ca8382a09b64a6bdba98
  HTML Author: eidolon <me@gooseboss.za>
       Date:   Tue, 13 Jun 2023 19:36:28 -0400
       
       Add colorspace correction to image resize.
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         M quinq-size                          |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR 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>' -colorspace sRGB "${output}";
                        ;;
                video/*)
                        ffmpeg -i "${filename}" -vf 'scale=w=min(iw\,800):h=-2' "${output}";