With QuartzFilters we have the possibility to process PDF files while we create them and apply modifications. Beside color modifications like having only gray, sepia or b&w images in a PDF, we can use a filter to create a PDF file in PDF/X standard format. With a custom image compression filter we can reduce file size of PDFs. Especially those with a lot of images can be reduced by shrinking each image to a smaller JPEG compressed copy.

Creating the Filter

First you show the QuartzFilter Manager panel with executing the plugin command MBS("QuartzFilterManager.ShowPanel"). This will show the panel where you can use plus button to make a new filter. With the new filter named, use the button on the right side to add the Image compression effect from the image effects menu. Than select options, e.g. JPEG with middle quality.

The prebuilt filter "Reduce File Size" also reduces all images to a maximum size of 512 pixel, but that is in our tests often too small. Replacing uncompressed images with JPEG versions reduces the size significantly alone.