How do I detect blank pages in existing PDF documents?

Q: We are making some validations on PDF files in batch and we want to create a webservice to process the files, to validate the embedded images, DPI , and the most importantly to check if a PDF contains blank pages, I been searching in the help but could not find any approach to validate this option.

A: To detect blank pages you could use the approach described in the following articles: