How can I extract an image of a specific size from an icon?
问题 How can I extract an image of a specific size or all images from an icon with multiple images? 回答1: You don't say what the purpose of this is, and there are a number of ways of getting icons and one method may be better than another depending on the purpose. However, to extract any number of "large" (32x32) and/or "small" (16x16) icons* from an arbitrary file , use the ExtractIconEx function. This lets you extract one or more icons of either of these two standard sizes from an icon file (.ico