mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
optimize pdf2htmlEX logo for web
This commit is contained in:
parent
3498af280e
commit
c2187ec685
@ -6,3 +6,4 @@ union everything
|
||||
crop canvas
|
||||
update metadata
|
||||
save as optimized svg
|
||||
optimize for web using pngnq
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
@ -1,4 +1,8 @@
|
||||
#!/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
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in New Issue
Block a user