extract icons from executable files in command line mode

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
zomp

extract icons from executable files in command line mode

Post by zomp »

Is any ImageMagick command-line tool able to extract icons from exe files and convert them?

Thanks for your wonderful program.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: extract icons from executable files in command line mode

Post by anthony »

NO. However there are cracking programs that look for image file formats inside larger files or data streams.

If you look for "magic" files, these contain data on how to identify various image formats basied on identification strings. For example JPEG images will usally have the string "JFIF" close to the starting point of the image file format. Simularly "PNG" for PNG images, and "GIF8" for GIF images.

There is however no guarantee as typically images in a executable are in a more low level raw form more suitable for direct use by the program.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply