Assuming Tcl strings are 8-bit clean, it looks like it would be quite easy to support CF_DIB for dragging bitmaps (device independent variety) on Windows. Just package the supplied data up in an HGLOBAL as is done for CF_TEXT. I would consider trying this myself, but I am using Tkdnd via Python's Tkinter and getting all the build environments going would be a drag.
In Python you can easily get the bitmap data from a PIL image as follows:
Assuming Tcl strings are 8-bit clean, it looks like it would be quite easy to support CF_DIB for dragging bitmaps (device independent variety) on Windows. Just package the supplied data up in an HGLOBAL as is done for CF_TEXT. I would consider trying this myself, but I am using Tkdnd via Python's Tkinter and getting all the build environments going would be a drag.
In Python you can easily get the bitmap data from a PIL image as follows:
fbmp = StringIO.StringIO()
pil_image.save(fbmp, "BMP")
bmp = fbmp.getvalue()[14:] # Strip BITMAPFILEHEADER