Skip to content

Commit

Permalink
v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ianare committed Oct 29, 2020
1 parent fc6a3e7 commit 97aca46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Change Log
**********

2.3.2 — 2020-10-29
* Fixes for HEIC files from Note10+ (#127) by Drew Perttula

2.3.1 — 2020-08-07
* Fix bug introduced with v2.3.0 in HEIC processing.

Expand Down
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,13 @@ Pass the ``-s`` or ``--strict`` argument, or as:
Usage Example
=============

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.
This example shows how to use the library to correct the orientation of an image
(using Pillow for the transformation) before e.g. displaying it.

.. code-block:: python
import exifread
from PIL import Image
from Pillow import Image
def _read_img_and_correct_exif_orientation(path):
im = Image.open(path)
Expand All @@ -192,10 +193,8 @@ This example shows how to use the library to correct the orientation of an image
if 8 in val:
logging.debug("Rotating by 90 degrees.")
im = im.transpose(Image.ROTATE_90)
return im
Credit
******

Expand Down
2 changes: 1 addition & 1 deletion exifread/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .utils import ord_, make_string
from .heic import HEICExifFinder

__version__ = '2.3.1'
__version__ = '2.3.2'

logger = get_logger()

Expand Down

0 comments on commit 97aca46

Please sign in to comment.