Extract Images from PDF in Python