Can't create .ico files

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: Can't create .ico files

Post by Drarakel »

OK. There are some wrong bytes in these ICO files that make them sort of corrupt. The height values in the Bitmapinfoheader are wrong, so that only one half of the picture gets read (the lower 16x8). And the transparency masks were somehow wrong.
One can 'fix' it by changing some bytes.. But the conclusion is: Just update ImageMagick. You won't have these problems in a current version. :wink:
(I can't give you hints for the installation - as I'm on Windows.)
rhousham2

Re: Can't create .ico files

Post by rhousham2 »

Thanks for your help.
Don't suppose u know the gd way instead?
Richard
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: Can't create .ico files

Post by Drarakel »

rhousham2 wrote:Don't suppose u know the gd way instead?
Sorry, no.
Post Reply