Talk:Newbie Guide for People Patching Styles
From Dreamwidth Notes
geekosaur and exor674 helped me update the preview picture script, with a little help from tamouse_ the other night with imagemagick settings. Requires imeagemagick, pngnq, and pngcrush (all of which should be available on DreamHacks now, I think)
#!/bin/bash for f in *.png; do convert -resize 150x114^ -gravity north -extent 150x114 -sharpen 25 +dither -type Palette "$f" png8:"out.png" && pngnq -n 256 -s 1 -f out.png && pngcrush -c 3 -bit_depth 8 -rem alla -brute out-nq8.png "$f" >/dev/null && rm out.png out-nq8.png done