Skip to content

Commit

Permalink
etc
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 29, 2024
1 parent 2ce5694 commit b5b0e2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions buildroot/share/dwin/bin/DWIN_ICO.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,12 @@
import struct
from PIL import Image


def getJpegResolution(jpegFile):
"""Returns a 2-tuple containing the jpegFile's (width, height).
"""
img = Image.open(jpegFile)
return img.size


class DWIN_ICO_File():
def __init__(self):
self.entries = [] # list of header entries
Expand Down

0 comments on commit b5b0e2c

Please sign in to comment.