Binary file formats
ICO directory entry decoder
Read one ICONDIRENTRY’s dimensions, bit fields and image byte range.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Zero width/height bytes mean 256. Planes, bit count, image length and file offset use little-endian integers.
The default entry describes 256×256, bit-count field 32, 4200 image bytes starting at offset 22.
Limits
For ICO files, not resource-group entries. The image may contain PNG or DIB data; this does not inspect that image or file bounds.