mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #1450 from wiredfool/docs-releasenotes
Added release notes for 3.0.0, added them to index and toc
This commit is contained in:
commit
1bbc9b8ae9
|
@ -33,7 +33,7 @@ Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.
|
|||
installation.rst
|
||||
handbook/index.rst
|
||||
reference/index.rst
|
||||
developer/index.rst
|
||||
releasenotes/index.rst
|
||||
porting.rst
|
||||
about.rst
|
||||
plugins.rst
|
||||
|
|
45
docs/releasenotes/3.0.0.rst
Normal file
45
docs/releasenotes/3.0.0.rst
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
3.0.0
|
||||
=====
|
||||
|
||||
Saving Multipage Images
|
||||
-----------------------
|
||||
|
||||
There is now support for saving multipage images in the `GIF` and
|
||||
`PDF` formats. To enable this functionality, pass in `save_all=True`
|
||||
as a keyword argument to the save::
|
||||
|
||||
im.save('test.pdf', save_all=True)
|
||||
|
||||
Tiff ImageFileDirectory Rewrite
|
||||
-------------------------------
|
||||
|
||||
The Tiff ImageFileDirectory metadata code has been rewritten. Where
|
||||
previously it returned a somewhat arbitrary set of values and tuples,
|
||||
it now returns bare values where appropriate and tuples when the
|
||||
metadata item is a sequence or collection.
|
||||
|
||||
The original metadata is still available in the TiffImage.tags, the
|
||||
new values are available in the TiffImage.tags_v2 member. The old
|
||||
structures will be deprecated at some point in the future. When
|
||||
saving Tiff metadata, new code should use the
|
||||
TiffImagePlugin.ImageFileDirectory_v2 class.
|
||||
|
||||
Deprecated Methods
|
||||
------------------
|
||||
|
||||
Several methods that have been marked as deprecated for many releases
|
||||
have been removed in this release::
|
||||
|
||||
Image.tostring()
|
||||
Image.fromstring()
|
||||
Image.offset()
|
||||
ImageDraw.setink()
|
||||
ImageDraw.setfill()
|
||||
The ImageFileIO module
|
||||
The ImageFont.FreeTypeFont and ImageFont.truetype `file` keyword arg
|
||||
The ImagePalette private _make functions
|
||||
ImageWin.fromstring()
|
||||
ImageWin.tostring()
|
||||
|
||||
|
|
@ -1,7 +1,13 @@
|
|||
Release Notes
|
||||
=============
|
||||
|
||||
.. note:: Contributors please include release notes as needed or appropriate with your bug fixes, feature additions and tests.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
2.7.0
|
||||
3.0.0
|
||||
2.8.0
|
||||
2.7.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user