PDF operations, ranked by what they can silently corrupt
Compress, merge, split and OCR each have a failure mode that produces a file which opens fine and is wrong. A developer's guide to which PDF operation to fear, and what to check after each one.