Convert pdf documents to images.