]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/ps-to-gifs.sh
release: 1.3.28
[lilypond.git] / buildscripts / ps-to-gifs.sh
index 0f4afe0a5ab7177bd0a7916f0e681687fc697f60..e2a3da89cb7b0451cd3d55a9610557f32bcfbc43 100755 (executable)
@@ -74,14 +74,13 @@ fi
 # urg, pipe breaks
 rm -f $BASE{.ppm,.$GIF} $BASE-page*{.ppm,.$GIF}
 
-# generate the pixmap at twice the size, then rescale (for antialiasing)
-cat $FILE | gs -sDEVICE=ppmraw $SIZE -sOutputFile="$BASE-page%d.ppm" -r180 -dNOPAUSE - -c quit $FILE
+cat $FILE | gs -sDEVICE=pgm $SIZE -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile="$BASE-page%d.ppm" -r90 -dNOPAUSE - -c quit $FILE
 # quant is soo slow
 # cat $PPMFILE | ppmquant 2 | pnmscale 0.3333 | pnmcrop | $PNMTOGIF $color > $OUTFILE
 PPMS=`ls $BASE*ppm`
 for i in $PPMS; do
     o=`dirname $i`/`basename $i .ppm`.$GIF
-    cat $i | pnmscale 0.5 | $CROP | $PNMTOGIF $color > $o
+    cat $i | $CROP | $PNMTOGIF $color > $o
     rm $i
 done