User Tools

Site Tools


Reducing pdf file size

If a pdf contains pictures (jpeg, jpg), the final pdf file can be very big. Usually people have some problems sending or receiving this huge files in their emails. To reduce this size and still get a pdf that has printing quality use:

ps2pdf $pdffile

This will produce a pdf file out of the input pdf file with an extra pdf suffix. This file will be much smaller. If this is not enough, then you will probably have to generate the pdf file again but with lower resolution pictures. For this you can use convert:

convert -page a4 -resample %30 $in_file $out_file 

You can use convert also to convert to other picture formats at the same time.

red_pdf.txt · Last modified: 2021/01/31 23:55 (external edit)