From 27bc13df7b4e1a7955dbf4468c8527ceb58897a8 Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Wed, 20 Dec 2017 12:34:42 +0000 Subject: [PATCH] typos --- PIL/PngImagePlugin.py | 4 ++-- docs/handbook/image-file-formats.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PIL/PngImagePlugin.py b/PIL/PngImagePlugin.py index 1f05b0f0d..2031b179e 100644 --- a/PIL/PngImagePlugin.py +++ b/PIL/PngImagePlugin.py @@ -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") diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 7a90cc047..eba13d398 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -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