Problem importing PDF (how to save a PDF as an image)