mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Fix typos
This commit is contained in:
parent
edd620a352
commit
7b2320b50f
|
@ -4325,7 +4325,7 @@ Changelog (Pillow)
|
||||||
- Documentation changes, URL update, transpose, release checklist
|
- Documentation changes, URL update, transpose, release checklist
|
||||||
[radarhere]
|
[radarhere]
|
||||||
|
|
||||||
- Fixed saving to nonexistant files specified by pathlib.Path objects #1748 (fixes #1747)
|
- Fixed saving to nonexistent files specified by pathlib.Path objects #1748 (fixes #1747)
|
||||||
[radarhere]
|
[radarhere]
|
||||||
|
|
||||||
- Round Image.crop arguments to the nearest integer #1745 (fixes #1744)
|
- Round Image.crop arguments to the nearest integer #1745 (fixes #1744)
|
||||||
|
@ -7536,7 +7536,7 @@ The test suite includes 400 individual tests.
|
||||||
- A handbook is available (distributed separately).
|
- A handbook is available (distributed separately).
|
||||||
|
|
||||||
- The coordinate system is changed so that (0,0) is now located
|
- The coordinate system is changed so that (0,0) is now located
|
||||||
in the upper left corner. This is in compliancy with ISO 12087
|
in the upper left corner. This is in compliance with ISO 12087
|
||||||
and 90% of all other image processing and graphics libraries.
|
and 90% of all other image processing and graphics libraries.
|
||||||
|
|
||||||
- Modes "1" (bilevel) and "P" (palette) have been introduced. Note
|
- Modes "1" (bilevel) and "P" (palette) have been introduced. Note
|
||||||
|
|
|
@ -19,7 +19,7 @@ from PIL import Image
|
||||||
# 7
|
# 7
|
||||||
# 160
|
# 160
|
||||||
|
|
||||||
# one of string.whitespace is not freely convertable into ascii.
|
# one of string.whitespace is not freely convertible into ascii.
|
||||||
|
|
||||||
path = "Tests/images/hopper.jpg"
|
path = "Tests/images/hopper.jpg"
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,7 @@ ImagingJpegDecode(Imaging im, ImagingCodecState state, UINT8 *buf, Py_ssize_t by
|
||||||
|
|
||||||
/* Decoder settings */
|
/* Decoder settings */
|
||||||
|
|
||||||
/* jpegmode indicates whats in the file; if not set, we'll
|
/* jpegmode indicates what's in the file; if not set, we'll
|
||||||
trust the decoder */
|
trust the decoder */
|
||||||
if (strcmp(context->jpegmode, "L") == 0) {
|
if (strcmp(context->jpegmode, "L") == 0) {
|
||||||
context->cinfo.jpeg_color_space = JCS_GRAYSCALE;
|
context->cinfo.jpeg_color_space = JCS_GRAYSCALE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user