How save clipboard data as bmp file

Tim Golden mail at
Mon Apr 20 17:03:00 CEST 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:

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


More information about the Python-list mailing list