Skip to content

Commit

Permalink
rm not needed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zabop committed Nov 10, 2024
1 parent c24749b commit 64160fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions image-sorter2_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@
import os
from shutil import copyfile, move
from PIL import ImageTk, Image
import exifread
import whatimage

class ImageGui:
"""
GUI for iFind1 image sorting. This draws the GUI and handles all the events.
Expand Down Expand Up @@ -290,7 +287,6 @@ def _load_image(path):
else: #deal with heic
with open(path, 'rb') as f:
data = f.read()
fmt = whatimage.identify_image(data)
i = pyheif.read_heif(data)
image = Image.frombytes(mode=i.mode, size=i.size, data=i.data)
if(resize):
Expand Down

0 comments on commit 64160fb

Please sign in to comment.