mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-08-22 11:45:16 +00:00
9 lines
317 B
Bash
Executable File
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
|