remove attachments from pdf images