added support for an image in clipboard from pdf document