1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/logo/update_png.sh

9 lines
321 B
Bash
Raw Permalink Normal View History

2014-07-13 23:59:30 +00:00
#!/bin/sh -ex
2013-09-27 11:54:29 +00:00
2013-10-20 07:31:59 +00:00
# convert raw SVG into png of different sizes
2013-09-27 11:54:29 +00:00
convert -background none -resize 64x64^ pdf2htmlEX.svg pdf2htmlEX-64x64.png
convert -background none -resize 256x256^ pdf2htmlEX.svg pdf2htmlEX-256x256.png
2013-10-20 07:31:59 +00:00
# optimize for web
pngnq pdf2htmlEX-64x64.png
mv pdf2htmlEX-64x64-nq8.png ../share/pdf2htmlEX-64x64.png