s4

changeset 132:7a9cd078bf6a

bzip2 *.xcf files
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 23 Aug 2015 06:27:51 +0859
parents 9782a978d53c
children d5afe98a8b58
files s4-funcs.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Fri Aug 14 21:37:29 2015 +0900
     1.2 +++ b/s4-funcs.sh	Sun Aug 23 06:27:51 2015 +0859
     1.3 @@ -1056,6 +1056,11 @@
     1.4  	    type='file'; k=${k%:filename}
     1.5  (echo k=$k; ls -lF $tmpd/$v; file --mime-type $tmpd/$v) 1>&3
     1.6  	    case `file --mime-type $tmpd/$v|cut -d' ' -f2` in
     1.7 +	      [Ii]mage/x-xcf)
     1.8 +		bzip2 $tmpd/$v
     1.9 +		v=${v}.bz2
    1.10 +		;;
    1.11 +	      [Ii]mage/x-*|*/vnd.*)	;;
    1.12  	      [Ii]mage/*)
    1.13  		mogrify -resize $maximagexy'>' $tmpd/$v
    1.14  		;;