How can I reduce the file size of a stamped PDF?

The flag, -optimize, can reduce the file size in most cases. Listed below are the functions of what the -optimize flag does:

  • encode any non-encoded streams using Flate compression
  • remove ASCII85 filters from all streams
  • replace LZW encoded streams with Flate encoding
  • merge identical XObjects and images
  • optimize common sequences in page content
  • merge identical font descriptors and encodings