Add emacs unsupported image resizing

Emacs unsupported image size is obtained
after converting the image to PNM (pbm) format.
Merge pull request #53 from trueroad/unsupported-image-resize

Add emacs unsupported image resizing