Remove heic2jpeg and add libheif-examples instead
This commit is contained in:
parent
1d8defc5bb
commit
2c3425c94d
3 changed files with 10 additions and 11 deletions
4
edit.py
4
edit.py
|
@ -7,7 +7,6 @@ import exif
|
|||
from geopy.geocoders import Nominatim
|
||||
from datetime import datetime
|
||||
import pathlib
|
||||
from heic2jpeg import heic2jpeg
|
||||
|
||||
def wait_with_check_closing(win_name):
|
||||
"""
|
||||
|
@ -35,9 +34,6 @@ class Image:
|
|||
print("editing", path)
|
||||
self.w = w
|
||||
self.h = h
|
||||
if pathlib.Path(path).suffix.lower() == ".heic":
|
||||
h2j = heic2jpeg.Heic2Jpeg(path)
|
||||
path = h2j.safe()
|
||||
self.path = path
|
||||
self.image = cv2.imread(self.path)
|
||||
self.geolocator = Nominatim(user_agent="jeena-synology-pictures")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue