Extract Images in Python Extract Images from a PDF file by providing any of the following: * filename (file in the same directory as the script) * filename.pdf (file in the same directory as the script) * YOUR_DIRECTORY/filename.pdf