Skip to content

Commit c9a8c5e

Browse files
entorbrrthomas
authored andcommitted
images: use smaller optimized files to reduce pdf file size
1 parent 1de6c06 commit c9a8c5e

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

chapters/hpmor-chapter-122.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ \chapter{Something to Protect: Hermione Granger}
523523
\vspace*{\fill}
524524
{
525525
\begin{center}
526-
\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.png}
526+
\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.pdf}
527527
\end{center}
528528
}
529529
\vspace*{\fill}

ebook/1_latex2html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def tex2html(s: str) -> str:
243243
flags=re.DOTALL | re.IGNORECASE,
244244
)
245245

246-
was = "{\n\\begin{center}\n\\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.png}\n\\end{center}\n}"
246+
was = "{\n\\begin{center}\n\\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.pdf}\n\\end{center}\n}"
247247
s = s.replace(was, "")
248248

249249
# paper notes in Chapter 13

images/Deathly_Hallows_Sign.pdf

1.25 KB
Binary file not shown.

images/bubble0.jpg

49.4 KB
Loading

layout/hp-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
\Large\MakeUppercase{and the Methods of Rationality} %
2525

26-
\includegraphics[scale=0.5]{images/bubble0.png}
26+
\includegraphics[scale=0.5]{images/bubble0.jpg}
2727

2828
\Large BY \vspace*{.25cm}
2929

0 commit comments

Comments
 (0)