You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I create a ICO file containing multiple BMP images which is not corrupted?
The text was updated successfully, but these errors were encountered:
sorairolake
changed the title
An invalid ICO image is generated when it including multiple BMP images
An invalid ICO image is generated when it includes multiple BMP images
Apr 5, 2024
Discussed in #2185
Originally posted by sorairolake March 26, 2024
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?
The text was updated successfully, but these errors were encountered: