mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Added release notes [ci skip]
This commit is contained in:
parent
2c9a9b3529
commit
b17a7dda28
|
@ -50,6 +50,14 @@ To compare it to other ImageOps methods:
|
||||||
does not fill the extra space. Instead, the original aspect ratio is maintained. So
|
does not fill the extra space. Instead, the original aspect ratio is maintained. So
|
||||||
unlike the other two methods, it is not guaranteed to return an image of ``size``.
|
unlike the other two methods, it is not guaranteed to return an image of ``size``.
|
||||||
|
|
||||||
|
ICO saving: bitmap_format argument
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
By default, Pillow saves ICO files in the PNG format. They can now also be saved in BMP
|
||||||
|
format, through the new ``bitmap_format`` argument::
|
||||||
|
|
||||||
|
im.save("out.ico", bitmap_format="bmp")
|
||||||
|
|
||||||
Security
|
Security
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user