aboutsummaryrefslogtreecommitdiff
path: root/source/img/README.rst
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-06-10 02:58:52 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-06-10 03:00:04 -0700
commit2a1715bc9790bff1a6528ad071e7b16e23cf5808 (patch)
tree8284b4b00003902d87c5a8cea5e910928ea14141 /source/img/README.rst
parent8d2f3a9885c5c496f6120e80405608373b924547 (diff)
downloadmy_new_personal_website-2a1715bc9790bff1a6528ad071e7b16e23cf5808.tar.xz
my_new_personal_website-2a1715bc9790bff1a6528ad071e7b16e23cf5808.zip
upgrade quality of icons
Also added a 2048x2048 logo for submission to Apple News Publisher (just curious).
Diffstat (limited to '')
-rw-r--r--source/img/README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/img/README.rst b/source/img/README.rst
index 4a679460..cccd869f 100644
--- a/source/img/README.rst
+++ b/source/img/README.rst
@@ -2,9 +2,9 @@ The icon and favicon files are generated via the following commands: ::
cd source/img
xelatex icon.tex
- for size in 100 400; do convert icon.pdf -quality 400 -resize ${size}x${size} icon-${size}.png; done
- for size in 16 32 48 144 152; do convert icon.pdf -density 400 -resize ${size}x${size} favicon-${size}.png; done
- optipng favicon-16.png favicon-32.png favicon-48.png favicon-144.png favicon-152.png icon-100.png icon-400.png
+ for size in 100 400 2048; do convert icon.pdf -density 400 -resize $sizex$size icon-$size.png; done
+ for size in 16 32 48 144 152; do convert icon.pdf -density 400 -resize $sizex$size favicon-$size.png; done
+ optipng favicon-*.png icon-*.png
convert favicon-16.png favicon-32.png favicon-48.png ../favicon.ico
rm favicon-16.png favicon-32.png favicon-48.png