Loading an exe icon into a pixmap/bitmap

Shane Geiger sgeiger at ncee.net
Wed Dec 12 01:20:39 EST 2007


Are you looking for these kinds of tools?


In Debian:
icoutils - Extract MS Windows icons and cursors

I don't recall where I saw this:
FileJuicer - Extract images from Powerpoint, PDF, HTML, and CAB files


ob.lutz at gmail.com wrote:
> I've been searching for a way to load an icon from an executable into
> something that I can eventually display either through pygame or
> pygtk. I've tried the stuff found at
> http://groups.google.com/group/comp.lang.python/browse_thread/thread/d7f61f270cce368/3ff38c1ced504e43?lnk=gst&q=win32+icon#3ff38c1ced504e43
> but the tests just output all black (not surprising, as that guy
> couldn't get it to work either). I've mucked around with taht code and
> the ExtractIcon stuff from pywin32, but still am stuck. I've seen some
> reference to a wxpython ways to do it, but I'm trying to not have to
> convert over to that. Any help is appreciated. Thanks
>   


-- 
Shane Geiger
IT Director
National Council on Economic Education
sgeiger at ncee.net  |  402-438-8958  |  http://www.ncee.net

Leading the Campaign for Economic and Financial Literacy




More information about the Python-list mailing list