For printing scanned graphics to PDF, I currently use CutePDF Writer. According to pdfimages, in the generated PDFs it embeds:
Black and white images (1 bit) as: losslessly compressed
Grayscale images (8 bit) as: losslessly compressed
True color images (24 bit) as: JPEG
The result is that grayscale documents are often larger than their color counterparts.
Is it possible to make CutePDF embed grayscale images as JPEG images?
Ideally, there also is an option to configure compression ratio.
Update
Following the suggestion by @Rik, I edited %programfiles%\Acro Software\CutePDF Writer\PDFWrite.rsp. My settings:
-sDEVICE=pdfwrite
-q
-dAutoRotatePages=/All
-dCompatibilityLevel=1.4
-dNOPAUSE
-dBATCH
-dMonoImageFilter=/FlateEncode
-dEncodeMonoImages=true
-dGrayImageFilter=/DCTEncode
-dEncodeGrayImages=true
-dColorImageFilter=/DCTEncode
-dEncodeColorImages=true
File size of my test PDF is now about half compared to before, and according to Xara Xtreme 5.1, the images are now embedded a JPEG (DCTEncode), while before they were embedded with lossless compression (FlateEncode). Strangely, pdfimages still extracts them as ppm despite the -j switch.
I also upgraded to the latest CutePDF Writer, and to Ghostscript 9.10.
And, very important, when printing, I have to select: print as PDF Otherwise, I would again get the lossless encoding (I don't understand why).