Skip to content

Commit

Permalink
images: use smaller optimized files to reduce pdf file size
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb authored and rrthomas committed Jun 11, 2022
1 parent 1de6c06 commit c9a8c5e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapters/hpmor-chapter-122.tex
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ \chapter{Something to Protect: Hermione Granger}
\vspace*{\fill}
{
\begin{center}
\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.png}
\includegraphics[scale=0.125]{images/Deathly_Hallows_Sign.pdf}
\end{center}
}
\vspace*{\fill}
Expand Down
2 changes: 1 addition & 1 deletion ebook/1_latex2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def tex2html(s: str) -> str:
flags=re.DOTALL | re.IGNORECASE,
)

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

# paper notes in Chapter 13
Expand Down
Binary file added images/Deathly_Hallows_Sign.pdf
Binary file not shown.
Binary file added images/bubble0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion layout/hp-intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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

\includegraphics[scale=0.5]{images/bubble0.png}
\includegraphics[scale=0.5]{images/bubble0.jpg}

\Large BY \vspace*{.25cm}

Expand Down

0 comments on commit c9a8c5e

Please sign in to comment.