Switching to PDF for images, and resizing to fit