Batch process PDF files -- reduce color depth and resolution



Hello,

Does anyone know of a good PDF library that works well with PHP (or even
not) that can process multi-page PDF files (I am talking thousands) and
reduce their color depth from color to black and white as well as reduce the
resolution.

I'd like it to run well on Linux.

Thanks
Dan
.