> 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 appear
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
> 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 implem
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:
<[EMAIL PROTECTED] >
Content-Type: text/plain; charset="iso-885
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@pytho
ailto:[EMAIL PROTECTED] Behalf
Of Steven James
Sent: Wednesday, 18 April 2007 11:15 PM
To: python-win32@python.org
Subject: [python-win32] How to use IExtractImage in python
I am attempting to add a simple thumbnail preview in a wxpython app I'm
putting together. IExtractImage seems
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
here