added support to image copied from pdf doc.

At first, thanks for this nice and neat tool that can help me to save images easily for my text oriented document tool(emacs org-mode). 

This patch enables us to save image that is copied in mac osx 'Preview' opening pdf file.

Thanks.