Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Nov 20, 2021

Resolves #5590

https://en.wikipedia.org/wiki/Apple_Icon_Image_format#Header states that the second value is

Length of file, in bytes, msb first

Saving images pre-#4526, I find that this is the case.

Since that PR however, this is no longer the case. This PR fixes it and adds a test.

@hugovk hugovk merged commit 877d97e into python-pillow:main Nov 21, 2021
@radarhere radarhere deleted the icns branch November 21, 2021 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App icns modification breaks the icon display on macOS

2 participants