Currently I am dealing with the problem that I have pdf file with lots of 1024×768 images in it and am trying to optimize the pdf’s file size, but the only solution that I thought is good enough for now is compressing the images with jpeg compression. The problem is that I did not find any way to do that with iOS APIs. Am I missing something, is there a way?
I`m welcome to suggestions on how to optimize the pdf with other means (lowering the resolution of the images is not a good solution for me).
Edit: If someone knows another API to use for pdf generation on iOS – links would be much appreciated.
Thanks in advance.
If anyone is interested I found a solution to my problem by using a free pdf library – libHaru. It gave me the needed functionality to add a JPEG compressed image to the generated pdf file.