New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App icns modification breaks the icon display on macOS #5590
Comments
Using an application on my computer, I'm not able to replicate this. Could you upload the original ICNS file? What version of macOS do you have? |
@radarhere Sorry about the invalid example, I've rechecked it and it requires drawing prior to saving in order to break the icon (Finder may cache the old icon, so it's easier to see the change using Get Info option on the application). Not really sure if it's related to #4526 change, but the issue appeared after upgrading to Pillow 8.3.0 |
@radarhere I've updated the example section of description. It was tested with both MacOS 10.15 Catalina and 11.6 Big Sur. The issue is present in 8.4.0 as well. |
Testing, I find that the problem is the file length in the header. I've created PR #5845 to resolve this. |
What did you do?
Modified
*.icns
file inside the app on MacOSWhat did you expect to happen?
Updated icon to be visible using Finder/Get Info.
What actually happened?
After upgrading Pillow to 8.3.0 version, updating
*.icns
file inside the application on MacOS, makes the app icon not visible/invalid in Finder, though all the icons are visible if you open theicns
file directly.What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: