PDF Compression in Reporting Services

Another small thing I didn’t know, Reporting Services automatically does PDF compression in at least the case of data driven subscriptions. Found this after writing a replacement for the data driven subscriptions that we could use on Standard edition and noticing a substantial difference in file sizes (15k vs 65k). Turns out the compression is done outside the call to the web method that returns the report as a byte array, so when you roll your own you don’t get the compression. Probably not a big deal to get a third party library and implement (and we may do so), but it was an interesting discovery and implementation detail.