<commit_before>#!/bin/bash

#imgsize=800
#dest=public/img/gallery/
dest='./'
for path in "$@"
do
    fname=$(basename "$path")
    base="${fname%.*}"
    #inkscape -z -e "${dest}${base}.png" -w $imgsize $path
    inkscape -z -e "${dest}${base}.png" $path
done<commit_msg>pngify stuff<commit_after>#!/bin/bash

imgsize=800
#dest=public/img/gallery/
dest='pngs/'
dpi=180
for path in "$@"
do
    fname=$(basename "$path")
    base="${fname%.*}"
    #inkscape -z -e "${dest}${base}.png" -w $imgsize $path
    inkscape -z -e "${dest}${base}.png" -d $dpi $path
done
{'fraction_non_alphanumeric': 0.23792486583184258, 'fraction_numerical': 0.016100178890876567, 'mean_word_length': 3.786324786324786, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6553524', 'n_tokens_mistral': 239, 'n_tokens_neox': 228, 'n_words': 51}