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
I would think that the last two images you are adding - Image.new(mode="P", size=(48,48)) and Image.new(mode="P", size=(48,48), color="#ff00ff") - are the same color depth. Do you agree?
Even if the specification did allow for multiple images of the same size and same color depth, that doesn't sound like it would be useful.
What did you do?
I took a bunch of pngs of different sizes and wanted to convert them to ICO with different color depths per size
What did you expect to happen?
that I add different images (in terms of color depth) and their sizes to a list and the different images will put into one icon
What actually happened?
there are multiple images of a size added, but all of them are the the same, the last added image
What are your OS, Python and Pillow versions?
I added a zip with an example
test.zip
.
The text was updated successfully, but these errors were encountered: