Added support for compressed PDF