How save clipboard data as bmp file

Tim Golden mail at timgolden.me.uk
Mon Apr 20 11:03:00 EDT 2009


gopal mishra wrote:
> I am trying to save my clipboard data (format is CF_ENHMETAFILE) as BitMap
> file (.BMP).

Have a look at PIL's ImageGrab module:

  http://www.pythonware.com/library/pil/handbook/imagegrab.htm

I'm not sure if the current version supports metafiles, but
it's easy enough to try.

TJG



More information about the Python-list mailing list