Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a JPEG of 440KB. When I open it in Preview on Mountain Lion and save it as a PDF the PDF is 2.8MB. The PDF version is 1.4 and the PDF producer is Mac OS X 10.8.2 Quartz PDFContext

Why has the size increased so much? And how can I save the file as PDF and keep more or less the same size?

share|improve this question
up vote 2 down vote accepted

When you preview the JPEG it will have to be decoded from it current compressed (JPEG) format to a bitmap. (This is always the case when you view a picture).

When you create the PDF Quartz is not inserting the JPEG file from disk. Instead it is creating a PDF with a newly encode JPEG, with different settings. If those settings default to keeping a higher picture quality * then the resulting file will be larger.


* Or rather preventing quality loss

share|improve this answer
    
I've checked this, and indeed the default behaviour of PDF Quartz is to save images in an uncompressed format. This can be changed by applying a custom quartz filter on the PDF. Thank you for your help. – Saaru Lindestøkke Feb 1 '13 at 17:07
1  
In that case I am slightly wrong. PDFs allow two kinds of images. One type is JPG, the other type is an uncompressed format which technically is not in JFIF/JPEG format. – Hennes Feb 1 '13 at 18:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .