Conversion Tools ⇒ make PDF file size smaller
-
- Posts: 4
- Joined: Sun Jun 20, 2010 6:23 am
make PDF file size smaller
I'm kind of new to Latex, but was still able to write a paper using TexWork software.
Mt problem is that the PDF file I create it too big. For 73 pages with some figures (just 10 kb png files) it's about 800 kb.
I need it to be much smaller, even if it reduce the resolution of it. I saw some codes to convert it, but not sure how to use them, the way I created the PDF was with the TexWork feature.
It's very urgent.
Thank you very much,
D.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
make PDF file size smaller
Code: Select all
\pdfminorversion=5\pdfcompresslevel=9\pdfobjcompresslevel=2
To make the images smaller you'll need to use an external program. You don't say how big they are to start with, so quite how effective this will be is again unclear. On Windows, I'd go for IrfanView: not so sure about other platforms. It can do things like resize images and resample to reduce resolution.
-
- Posts: 4
- Joined: Sun Jun 20, 2010 6:23 am
Re: make PDF file size smaller
the figures are graphs i created with matlab, there are 16 figures, each of them is about 10-15kb.
i used the code you gave me, it reduced the file from 854kb to 790kb.
I tries to take all the figures out and then the file is 470kb - with the code.
Is there a code to compress the file even more?
thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
make PDF file size smaller
As soon as the problem is orted out, please act according to Section 3 of the Board Rules.
[1] MATLAB Central - File detail - save2pdf
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Sun Jun 20, 2010 6:23 am
Re: make PDF file size smaller
Is is possible to compress it more?
thanks
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: make PDF file size smaller
-
- Posts: 4
- Joined: Sun Jun 20, 2010 6:23 am
Re: make PDF file size smaller
thanks
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
make PDF file size smaller
Re: make PDF file size smaller
Cheers,
Tomek