Creating a Windows icon file for "Devices and Printers"
Posted: 2016-08-03T10:53:00-07:00
Hi - I am trying to create a Windows 7 - compatible .ICO file that will be used in the "Devices and Printers" window. I am using the Windows Metadata Authoring Wizard (https://msdn.microsoft.com/en-us/librar ... s.85).aspx) that requires the ICO file to have multiple resolutions and bit depths.
The following icon resolutions and depths are required in the ICO file:
I don't know if this is even the right route, but this is what I tried:
This resulted in the following error:
convert: unbalanced parenthesis `favicon.ico' @ error/convert.c/ConvertImageCommand/3248
Can anyone help with the Windows command line that would get me all the icon resolutions and bit depths listed above?
Thanks,
AzJazz
The following icon resolutions and depths are required in the ICO file:
- 256x256 32bit + Alpha
- 48x48: 32bit + Alpha
- 48x48: 8bit 256
- 48x48: 4bit 16
- 32x32: 32bit + Alpha
- 32x32: 8bit 256
- 32x32: 4bit 16
- 24x24: 32bit + Alpha
- 24x24: 8bit 256
- 24x24: 4bit 16
- 16x16: 32bit + Alpha
- 16x16: 8bit 256
- 16x16: 4bit 16
I don't know if this is even the right route, but this is what I tried:
Code: Select all
convert image.png ( -clone 0 -resize 256x256 ) ( -clone 0 -resize 48x48 ) ( -clone 0 -resize 48x48 -colors 256) ( -clone 0 -resize 48x48 -colors 16) ( -clone 0 -resize 32x32 ) ( -clone 0 -resize 32x32 -colors 256) ( -clone 0 -resize 32x32 -colors 16) ( -clone 0 -resize 24x24 ) ( -clone 0 -resize 24x24 -colors 256) ( -clone 0 -resize 24x24 -colors 16) ( -clone 0 -resize 16x16 ) ( -clone 0 -resize 16x16 -colors 256) ( -clone 0 -resize 16x16 -colors 16) -delete 0 -alpha remove favicon.ico
convert: unbalanced parenthesis `favicon.ico' @ error/convert.c/ConvertImageCommand/3248
Can anyone help with the Windows command line that would get me all the icon resolutions and bit depths listed above?
Thanks,
AzJazz