How to create a single correct ICO file which contains multiple BMP images? #2185
Unanswered
sorairolake
asked this question in
Q&A
Replies: 1 comment
-
I suspect there's a bug in our encoder. Please feel free to create an issue. Would be helpful to include any details you know about how the image is corrupt or under what conditions a corrupt image is produced |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a code to create a ICO file containing multiple BMP or PNG images:
https://github.com/sorairolake/favico/blob/1c5cb360350097900988bb407c81368d55512648/src/generate.rs#L40-L59
The generated ICO file containing multiple PNG images seems correct, but it containing multiple BMP images seems corrupted:
How can I create a ICO file containing multiple BMP images which is not corrupted?
Beta Was this translation helpful? Give feedback.
All reactions