Repository navigation
Correct handbook, installation and deprecation documentation - #10628
Open
aclark4life wants to merge 2 commits into
Open
aclark4life wants to merge 2 commits into
aclark4life wants to merge 2 commits into
Conversation
Fix heading levels in the removed features list, correct tutorial and security statements that disagree with the code, and update outdated installation instructions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preview: https://pillow--10628.org.readthedocs.build/en/10628/deprecations.html
Documentation changes only.
Deprecations
~underlines instead of^, so they were all nested under "Get internal pointers to objects".ImageCms.INTENT_RELATIVE_COLORIMETRICandIntent.RELATIVE_COLORIMETRICwere misspelled.Image.getdata()andImageQt.align8to32(), matching their warnings.raise_ioerrorrecommendedraise_oserror, which has also been removed, and the PyQt4 entry recommended PyQt5 or PySide2, which have also been removed.Tutorial
paste()clips a region that extends outside the image, rather than not allowing it.(128, 128)xRGB.split()of a single-band image returns a tuple containing a copy, not the image itself.ImageSequence.Iteratorexample loop only had a comment, so was aSyntaxErrorif copied.hopper.ppmis 128x128, and the list of sequence formats was out of date.Security
save().python3 -m pip, and fix a sentence that had no main clause.Writing your own image plugin
bitsdefaults to 8, and codec functions are looked up inPIL._imaging, not the core image object.Installation
--platform macosx_10_10_x86_64, which doesn't match wheels for Python 3.12 and later.macosx_11_0_x86_64downloads the right wheel, and the example filenames are updated from Pillow 9.4.0 / cp39.-C [feature]=enablesample would install a binary wheel and ignore the settings without--no-binary :all:.libtiff-dev,libjpeg-turbo8-dev), update the tested libtiff and libjpeg-turbo versions, and remove notes about Fedora 23 and Tcl/Tk settings that don't exist.🤖 Generated with Claude Code