class
IconUtility
Manipulates icons in executable files.
Public
Methods
staticUpdateIconExe
Updates icons in the provided executable.
Only icons that already exist in the executable can be updated, no new icons can be inserted. Icons must be square.
- filePath
- Path to the executable.
- icons
- Pixels of images to replace. Each entry maps an icon width (and height, since they're square) to its pixels.
Private
Methods
staticUpdateIconData
Updates data of an existing icon with new pixels.
- iconData
- Existing icon bytes, in Windows ICO format.
- icons
- Pixels of images to replace. Each entry maps an icon width (and height, since they're square) to its pixels.