--- deliantra/server/utils/cfutil.in 2007/08/09 22:54:28 1.50 +++ deliantra/server/utils/cfutil.in 2007/08/18 20:39:14 1.51 @@ -21,6 +21,7 @@ use Crossfire; use Coro; use Coro::AIO; +use Coro::Util; use POSIX (); use Digest::MD5; use Carp; @@ -172,10 +173,9 @@ my $other = "$stem.64x64.png~"; if (0 > aio_lstat $other or (-M _) > (-M $path)) { - my $wrap = 0; # for the time being fork_sub { - system "convert png:\Q$path\E -depth 8 rgba:-" - . "| $exec_prefix/bin/cfhq2xa $w $h $wrap" + system "convert -depth 8 png:\Q$path\E rgba:-" + . "| $exec_prefix/bin/cfhq2xa $w $h 0" . "| convert -depth 8 -size ".($w * 2)."x".($h * 2)." rgba:- $QUANTIZE -quality 00 png32:\Q$other\E~" and die "convert/hq2xa pipeline error: status $? ($!)"; system $OPTIPNG, "-i0", "-q", "$other~";