PHP wrapper for pdfimages