I am looking for a way to reduce the size of a PDF that I create using Quartz. I draw images using CGContextDrawImage in CGPDFContext. I am afraid that images are saved as bitmap rather than JPEG. Is there a way to check this and a way to control this when writing a PDF?
I also tried to reduce the zoom out before writing it to the PDF context, but in the end I got an even larger file (although the page size in pixels is smaller).
Thanks!
iphone pdf pdf-generation quartz-2d
Kamchatka
source share