Some updates to PDFImage, refactoring mainly

nothing to report in particular in this commit