Re: [python-win32] How to use IExtractImage in python

2007-04-21 Thread Niki Spahiev
I realize that a discussion on wxpython would be outside this group's topic, but if anyone could tell me where to start looking for a way to do this, I would greatly appreciate it. From what I can tell, wxpython/wxwindows uses the HBITMAP type internally to store images, and it appears to

Re: [python-win32] How to use IExtractImage in python

2007-04-20 Thread Steven James
Thank your your excellent help, Mark. I have gotten everything to compile properly, and can call IExtractImage::GetLocation and IExtractImage::Extract from python on the necessary files. Even the exceptions on unknown file types seem to be handled properly. The final problem is getting the image

[python-win32] How to use IExtractImage in python

2007-04-19 Thread Tony Cappellini
Steven Would it be possible to launch AutoCad, then use Python/PIL to do screenshots of the images? Message: 1 Date: Wed, 18 Apr 2007 09:15:29 -0400 From: Steven James [EMAIL PROTECTED] Subject: [python-win32] How to use IExtractImage in python To: python-win32@python.org Message-ID

Re: [python-win32] How to use IExtractImage in python

2007-04-19 Thread Mark Hammond
I have been delving in to the process of adding support for IExtractImage to pythonwin. I have run makegw on the necessary files, added the resulting .cpp and .h files to com/win32comext/shell/src, added references in shell.cpp and setup.py, and now it seems all that is left to do is implement

[python-win32] How to use IExtractImage in python

2007-04-18 Thread Steven James
I am attempting to add a simple thumbnail preview in a wxpython app I'm putting together. IExtractImage seems to be the way to access the thumbnails that Windows Explorer uses. (I can't use PIL or similar because I'm previewing AutoCAD .dwg files). I am adapting some Delphi COM code (from