Hey there, I have a slight problem which is also known on the web, but I couldn't find any answers...
My iOS App is working with documents like pdf and images. It is made to handle invoices and upload them to an external service. The app's job is to compress those pdfs and images. Sadly the PDFKit's PDFDocument increases its size just after importing it with pdfDocument = PDFDocument(url: url)
and later exporting it to an pdf file again with data = pdf.dataRepresentation()
without ever modifying it.
It increases by server KB after each export. Do you have any alternatives to the renderer dataRepresentation()
or a general PDFKit alternative
Thanks