Skip to content

Commit 1df7e11

Browse files
committed
v2.3.2
1 parent fc6a3e7 commit 1df7e11

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

ChangeLog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Change Log
33
**********
44

5+
2.3.2 — 2020-10-29
6+
* Fixes for HEIC files from Note10+ (#127) by Drew Perttula
7+
* Add missing EXIF OffsetTime tags (#126) by Étienne Pelletier
8+
59
2.3.1 — 2020-08-07
610
* Fix bug introduced with v2.3.0 in HEIC processing.
711

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,13 @@ Pass the ``-s`` or ``--strict`` argument, or as:
160160
Usage Example
161161
=============
162162

163-
This example shows how to use the library to correct the orientation of an image (using PIL for the transformation) before e.g. displaying it.
163+
This example shows how to use the library to correct the orientation of an image
164+
(using Pillow for the transformation) before e.g. displaying it.
164165

165166
.. code-block:: python
166167
167168
import exifread
168-
from PIL import Image
169+
from Pillow import Image
169170
170171
def _read_img_and_correct_exif_orientation(path):
171172
im = Image.open(path)
@@ -192,10 +193,8 @@ This example shows how to use the library to correct the orientation of an image
192193
if 8 in val:
193194
logging.debug("Rotating by 90 degrees.")
194195
im = im.transpose(Image.ROTATE_90)
195-
196196
return im
197197
198-
199198
Credit
200199
******
201200

exifread/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from .utils import ord_, make_string
1111
from .heic import HEICExifFinder
1212

13-
__version__ = '2.3.1'
13+
__version__ = '2.3.2'
1414

1515
logger = get_logger()
1616

0 commit comments

Comments
 (0)