Change make-pdf to make image
Add type options to make-image