I am using
$ pdflatex --version
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)
kpathsea version 6.2.3
to compile a 30-page pdf output. Twelve of the pages look like this (the rest are only text):
All items are generated by this code:
\newcommand{\weapon}[8]
{
\begin{multicols}{2}
\noindent \textbf{#2} \\
Необходима сила: #3 \\
Обсег: #4 \\
Щети: #5 \\
Свойства: #6 \\
Маса: #7 \\
Стойност: #8 \\
\includegraphics[height=0.13\textheight]{../images/#1}~
\end{multicols}
\vspace{0.01cm}
}
This bring the file size to:
remote: warning: File build/elementaris-fantasy.pdf is 63.06 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
The images I am using are not scaled and some of them are quire large.
How can I reduce the size of the PDF file? The purpose of the PDF is to be printed on sheets of paper as reference for a game.
\pdfcompresslevel
? (It should be set to 9 for maximum compression). What are the image formats (PNG, JPEG, PDF, ...)? In case of PNG, what tells the.log
about the inclusion?