Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 committed Apr 16, 2022
1 parent 3528220 commit 8ba9e88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions examples/opener_display_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 1 addition & 4 deletions examples/reader_display_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 8ba9e88

Please sign in to comment.