get_pdf_image function

Obtain Image from a PDF Document