Skip to content

Comments

Support ICN file extension for old Windows icons#8107

Merged
dlemstra merged 1 commit intoImageMagick:mainfrom
bitplane:icn-extension
Apr 17, 2025
Merged

Support ICN file extension for old Windows icons#8107
dlemstra merged 1 commit intoImageMagick:mainfrom
bitplane:icn-extension

Conversation

@bitplane
Copy link
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practices as demonstrated in the repository.

Description

Old archives of Windows icons from software found on the Internet archive have an .ICN extension. When converting them to BMP I get this error message:

convert 007.ICN ../tmp.bmp
convert-im6.q16: no decode delegate for this image format ICN' @ error/constitute.c/ReadImage/581.
convert-im6.q16: no images defined ../tmp.bmp' @ error/convert.c/ConvertImageCommand/3234.

So I added ICN to the Windows Icon loader and tested it with the attached icons:
HR7ICN.zip

@dlemstra
Copy link
Member

Thanks for your contribution. I will take a look at it later today.

@dlemstra dlemstra merged commit 9b2f346 into ImageMagick:main Apr 17, 2025
8 checks passed
@bitplane bitplane deleted the icn-extension branch April 19, 2025 23:07
This was referenced Jul 22, 2025
This was referenced Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants