Hi,

Is there a solution in order to save into a file some Icons which has been
extracted from Exe file ?

I didn't find any solution with Win32::GUI::DIBitmap ?

use Win32::Exe;
my $exe = Win32::Exe->new('c:/windows/notepad.exe');

# Dump icons in an executable
foreach my $icon ($exe->icons) {
    printf "Icon: %s x %s (%s colors)\n",
               $icon->Width, $icon->Height, 2 ** $icon->BitCount;
    # How can i store in file those icons ?
    ...
}

Thanks for your answers.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to