mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 21:24:46 +03:00
cleanup
This commit is contained in:
parent
ea0d6d4447
commit
9e1afac229
|
@ -4,7 +4,6 @@ from . import Image, ImageFile
|
|||
|
||||
try:
|
||||
import pyheif
|
||||
print("!")
|
||||
except ImportError:
|
||||
pyheif = None
|
||||
|
||||
|
@ -30,7 +29,6 @@ class HeifImageFile(ImageFile.ImageFile):
|
|||
|
||||
|
||||
if pyheif:
|
||||
print("!!")
|
||||
Image.register_open(HeifImageFile.format, HeifImageFile, _accept)
|
||||
Image.register_extensions(HeifImageFile.format, [".heif", ".heic", ".hif"])
|
||||
Image.register_mime(HeifImageFile.format, "image/heif")
|
||||
|
|
Loading…
Reference in New Issue
Block a user