1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
pdf2htmlEX/logo/update_png.sh
2013-10-20 15:31:59 +08:00

9 lines
317 B
Bash
Executable File

#!/bin/sh
# convert raw SVG into png of different sizes
convert -background none -resize 64x64^ pdf2htmlEX.svg pdf2htmlEX-64x64.png
convert -background none -resize 256x256^ pdf2htmlEX.svg pdf2htmlEX-256x256.png
# optimize for web
pngnq pdf2htmlEX-64x64.png
mv pdf2htmlEX-64x64-nq8.png ../share/pdf2htmlEX-64x64.png