mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
typos
This commit is contained in:
parent
03150c2410
commit
27bc13df7b
|
@ -393,7 +393,7 @@ class PngStream(ChunkStream):
|
|||
return s
|
||||
|
||||
def chunk_cHRM(self, pos, length):
|
||||
# chromaticity, 8 unsigned ints, actual value is scaled by 100000
|
||||
# chromaticity, 8 unsigned ints, actual value is scaled by 100,000
|
||||
# WP x,y, Red x,y, Green x,y Blue x,y
|
||||
|
||||
s = ImageFile._safe_read(self.fp, length)
|
||||
|
@ -752,7 +752,7 @@ def _save(im, fp, filename, chunk=putchunk):
|
|||
chunk(fp, b"iCCP", data)
|
||||
|
||||
# You must either have sRGB or iCCP.
|
||||
# Disallow sRGB chunks when a iCCP-chunk has been emitted.
|
||||
# Disallow sRGB chunks when an iCCP-chunk has been emitted.
|
||||
chunks.remove(b"sRGB")
|
||||
|
||||
info = im.encoderinfo.get("pnginfo")
|
||||
|
|
|
@ -417,7 +417,7 @@ The :py:meth:`~PIL.Image.Image.open` method sets the following
|
|||
Gamma, given as a floating point number.
|
||||
|
||||
**srgb**
|
||||
The sRGB rendering intent as a integer.
|
||||
The sRGB rendering intent as an integer.
|
||||
|
||||
* 0 Perceptual
|
||||
* 1 Relative Colorimetric
|
||||
|
|
Loading…
Reference in New Issue
Block a user