I looked at your icontest.ico
file provided from the GitHub website well and found that the solution is a simple solution.
First, let me illustrate the problem, as I see it on a 32-bit Windows XP system using the free IrfanView , which is a great image viewer for this task.
Here is a composite snapshot I made illustrating an error for 5 of 6 layers , as shown with IrfanView:
![enter image description here](https://fooobar.com/undefined)
To fix the above icontest.ico
file, you might think that frames 1,2,3,4 and 6 are bad. But the opposite is true! It turns out that frame 5 is the culprit !.
In particular, frame 5 has compression set in this frame, which causes a problem.
The actual fix that is required is simply to save the icontest.ico
file without compressing this layer. For this purpose, the free GIMP application, which is an excellent image editor. for this task.
Just save the icon file using GIMP , but remove the compression for layer 5th , as shown below:
![enter image description here](https://fooobar.com/undefined)
The end result is icontestResaved.ico correctly displayed, as shown in IrfanView (Tip: to view the frames of the icon file in IrfanView, use the Red arrows next to the frame number, i.e. 1/6): ![enter image description here](https://fooobar.com/undefined)
The best way to make sure that the file works on different Windows operating systems is to actually have an available machine, because the rendering mechanism is unique and emulators may not work as intended.
For the curious: Setting all the layers that need to be compressed in GIMP has led to the icon in Windows Explorer not being visible .
Tip. . To view the referenced images above in their original size , right-click and select View Image.
Status update: Consider installing Axialis IconWorkshop β’ Lite Version 6.3.1.1 to handle all of your icon development work tasks. This is the free Visual Studio 2008 module provided by Axialis themselves!