ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnMView: Extract Icons from Exe?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Sep 22 2024 : 11:48:04
Does TImageEnMView have a built-in method to extract all icons from an EXE file?
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 26 2024 : 15:07:13
Thanks, the example is updated in the release version.

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Sep 26 2024 : 10:20:40
This Filter hides all images with a size lesser than 256 x 256 pixel:

procedure TForm1.ImageEnMView1Filter(Sender: TObject; Index: Integer; const Filename: string; var ShowFrame: Boolean);
begin
  if (ImageEnMView1.ImageWidth[Index] < 256) or (ImageEnMView1.ImageHeight[Index] < 256) then
    ShowFrame := False;
end;


PeterPanino Posted - Sep 26 2024 : 09:17:43
// Load all "Icon" type resources from "explorer.exe"
  ImageEnMView1.Clear();
  // resource types: ietrIcon, ietrBitmap, ietrGroupIcon, ietrAniIcon, ...
  ImageEnMView1.IEMBitmap.LoadFromResource( 'explorer.exe', [ ietrIcon ] );
  ImageEnMView1.Update();


The images are all shown with the same thumbnail sizes:



Isn't it possible to show them with their RELATIVE size?

Thank you for this function, which simplifies loading resources and everything.
xequte Posted - Sep 22 2024 : 21:44:19
Hi Peter

You can email me for the latest beta, which has TIEMultiBitmapHelper.LoadFromResource().

e.g.

ImageEnMView1.Clear();
ImageEnMView1.IEMBitmap.LoadFromResource('explorer.exe', [ ietrIcon]);
ImageEnMView1.Update();


Nigel
Xequte Software
www.imageen.com