How to reduce PDF file size in GNU/Linux?

I am creating PDF,epub,mobi type ebooks in Tamil for http://FreeTamilEbooks.com

I use http://pressbooks.com for this.

Epub, Mobi type files can be exported from the site.
Their PDF export dont support unicode font.

I export into XHTML format and print the html file as PDF file.

Sometimes these PDF files are huge in size.

To reduce the filesize of the PDF files, the following command is used.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputFile=output.pdf input.pdf

40 MB PDF files are reduced to 4.5 MB PDF files.

I got this tip from
http://pierrepoulain.free.fr/tips/tips.html

Thanks for the author of the tip and the gs utility.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s