From 8ba9e880ecacee802b777b534146e8bc2e223acd Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sat, 16 Apr 2022 19:49:35 +0300 Subject: [PATCH] v0.2.0 --- examples/opener_display_images.py | 3 --- examples/reader_display_images.py | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/opener_display_images.py b/examples/opener_display_images.py index 9a29dc5c..ba8287fc 100644 --- a/examples/opener_display_images.py +++ b/examples/opener_display_images.py @@ -12,9 +12,6 @@ # Change directory to project root. os.chdir(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "tests")) pillow_heif.register_heif_opener() - # "images/hif/93FG5564.hif" - contains 1 image and two thumbnails for it. - # "images/hif/93FG5559.hif" - contains 1 image and two thumbnails for it. - # "images/nokia/collection/season_collection_1440x960.heic" - contains 4 images and 4 thumbnails. image_path = Path("images/pug_1_1.heic") try: img = Image.open(image_path) diff --git a/examples/reader_display_images.py b/examples/reader_display_images.py index 8c0d7f58..a0bf343e 100644 --- a/examples/reader_display_images.py +++ b/examples/reader_display_images.py @@ -11,10 +11,7 @@ if __name__ == "__main__": # Change directory to project root. os.chdir(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "tests")) - # "images/hif/93FG5564.hif" - contains 1 image and two thumbnails for it. - # "images/hif/93FG5559.hif" - contains 1 image and two thumbnails for it. - # "images/nokia/collection/season_collection_1440x960.heic" - contains 4 images and 4 thumbnails. - image_path = Path("../converted/alpha_.heic") + image_path = Path("images/nokia/alpha.heic") try: if not pillow_heif.is_supported(image_path): raise ValueError("Unsupported image.")