Change web to use PNG rather than JPG.

This makes the image files smaller and much sharper.
This commit is contained in:
Jim Hague 2013-02-10 18:27:29 +00:00
parent 76e43cc3ac
commit 2f40bc5018
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ find $booke -name "*.abc" | sort |
echo "<tr>" >> $webdir/$output
echo "<td>${title}</td>" >> $webdir/$output
echo "<td><a href=\"${name}.jpg\">JPG</a></td>" >> $webdir/$output
echo "<td><a href=\"${name}.png\">PNG</a></td>" >> $webdir/$output
echo "<td><a href=\"${name}.pdf\">PDF</a></td>" >> $webdir/$output
echo "<td><a href=\"${name}.mid\">MIDI</a></td>" >> $webdir/$output
echo "<td><a href=\"${name}.mp3\">MP3</a></td>" >> $webdir/$output

View File

@ -24,15 +24,14 @@ find $booke -name "*.abc" | sort |
do
name=`basename $filename .abc`
tmpname=${name}.tmp
convert -density 96 $graphicsdir/${name}.eps $builddir/${tmpname}.jpg
convert -density 96 $graphicsdir/${name}.eps $builddir/${tmpname}.png
abc2midi $filename -o $builddir/${tmpname}.mid
timidity -Ow -o $builddir/${tmpname}.wav $builddir/${tmpname}.mid
lame --quiet $builddir/${tmpname}.wav $builddir/${tmpname}.mp3
mv $builddir/${tmpname}.jpg $builddir/${name}.jpg
mv $builddir/${tmpname}.png $builddir/${name}.png
mv $builddir/${tmpname}.mid $builddir/${name}.mid
mv $builddir/${tmpname}.mp3 $builddir/${name}.mp3
rm $builddir/${tmpname}.wav
done