Optimize PDF for Mobile Rendering
This page explains tips on how to optimize PDF for Mobile Rendering. Rendering PDF documents is quite complex. PSPDFKit has to parse and go through the whole render tree for every page and zoom operation. There are certain aspects that are supported within the PDF specification but come at great cost to implement them. Mobile devices are limited when it comes to resources and processing power, so optimizing your PDF documents can be very beneficial for both performance and battery.
Tips for PDF Optimization
Reduce Image Size
Unnecessarily large images take up precious memory, even when they are not able to be displayed in their full resolution on the smaller screens available on phones and tablets. That's why it's always a good idea to down sample those images. Follow these steps in Adobe Acrobat to reduce image size:
Open your document in Adobe Acrobat, go to File -> Save as Other -> Optimized PDF and under the 'Settings' select 'Mobile' as a preset. It already contains settings optimized for displaying PDFs on mobile devices.
Avoid using JPEG 2000 for Image Compression
JPEG 2000 is an image format similar to JPEG, but has slightly better image quality when two files of the same size are compared. However, this little improvement comes with massive downside, as decompressing such images are much more complex. Often such image compression is the root cause for pages taking a very long time to render.
Checking if the document contains JPEG 2000 Images
In order to check if your document contains JPEG 2000 images, open it with Adobe Acrobat and select Edit -> Preflight.. -> PDF/A compliance -> Verify compliance with PDF/A-1a. If your document contains the JPEG2000 compressed images, they will show up.

Recompressing Images to JPEG
To recompress JPEG 2000 images to JPEG in your PDF document, open it with Adobe Acrobat and select File -> Save as Other -> Optimized PDF.. When setting the image settings, make sure you turn off downsampling and change the compression to JPEG from JPEG 2000.
Converting JPEG2000 to JPEG
Alternative solution: open it with Adobe Acrobat and select Edit -> Preflight. Then under 'PDF fixups', double-click on 'Recompresses color and grayscale images to JPEG (high quality)' to select the fixed document destination and perform the recompression.

Flatten a PDF file
Flatten a PDF file by merging all interactive elements, such as annotations, form fields, and layers, into a single, non-editable layer.
Using Adobe Acrobat Pro:
Open the PDF in Adobe Acrobat Pro.
Go to
Tools > Preflight
.In the Preflight tool, there is an option to flatten transparency, which you can apply to your document
Alternative Methods:
Other PDF editing tools may have similar options under terms like "flatten", "optimize", or "reduce file size".