summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/undergradmath/convert_to_png.sh
blob: 7600e2f4b27f57b8c61d4329e7be19698d4a3cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#  Convert_to_png.sh
#
# Convert the PDF file's pages to a PNG file each, suitable for a web page.
# Jim Hefferon 2017-Jan-10
convert           \
   -verbose       \
   -density 200   \
   -trim          \
    undergradmath.pdf[0]      \
   -quality 100   \
   -flatten       \
   -sharpen 0x1.0 \
    undergradmath_0.png
convert           \
   -verbose       \
   -density 200   \
   -trim          \
    undergradmath.pdf[1]      \
   -quality 100   \
   -flatten       \
   -sharpen 0x1.0 \
    undergradmath_1.png