How to reduce PDF file size in GNU/Linux?

I am creating PDF,epub,mobi type ebooks in Tamil for

I use 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

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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s