You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfne...@googlegroups.com
Q:
I want to add an image to a page using the standard version of the Android SDK. The image is uncompressed, and the PDF document size increases a lot. The full version of the SDK allows you to compress the image data, and thus the PDF document doesn't increase very much. How can I get the same functionality with the standard Android SDK?
A:
One workaround would be to compress the image data with Flate (java.util.zip.Deflater), then pass the compressed data into Image.Create: