Reputation:
I have always thought how to extract an image from the icon of a .exe window file. Is there an easy way to do it maybe with GD?
I think the step would be:
Upvotes: 2
Views: 2584
Reputation: 106980
An icon is a fairly complex beast. Converting to a PNG will not be easy, because:
As far as I'm aware GD does not support icon format. Imagemagick seems to, maybe you can use that. Otherwise you might need to write your own icon extractor.
Upvotes: 3