Merge pull request #5423 from radarhere/ico_documentation

Added info about mode when saving ICO for Windows
This commit is contained in:
Hugo van Kemenade 2021-04-25 11:14:31 +03:00 committed by GitHub
commit 75f385ffaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,8 @@ class IcoImageFile(ImageFile.ImageFile):
Handles classic, XP and Vista icon formats.
When saving, PNG compression is used. Support for this was only added in
Windows Vista.
Windows Vista. If you are unable to view the icon in Windows, convert the
image to "RGBA" mode before saving.
This plugin is a refactored version of Win32IconImagePlugin by Bryan Davis
<casadebender@gmail.com>.