Add png generation back in (using the imagemagick convert tool), add png files to gitignore

This is so we aren't committing binary data to the git repository if
that data may get updated in the future because I decide to make changes
to algorithms, palettes, etc. It's still nice to get the png files
generated so they can stay.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2024-05-30 12:26:08 -07:00
parent 87af541cc4
commit 43e99e15bb
2 changed files with 4 additions and 2 deletions

View File

@@ -15,8 +15,8 @@ while read infile; do
pngfile="examples/$(basename -s .in "$infile")-$hash-$matrix.png"
echo "Generating $svgfile"
python3 -m colorhash "$infile" --output-type svg --out "$svgfile" --hash "$hash" --matrix "$matrix"
#echo "Generating $pngfile"
#convert "$svgfile" "$pngfile"
echo "Generating $pngfile"
convert "$svgfile" "$pngfile"
done
done
done