Skip to content

Commit

Permalink
stop rotating the image
Browse files Browse the repository at this point in the history
  • Loading branch information
ugomeda committed Feb 7, 2025
1 parent 7648a8d commit c6653f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inkplate_dashboard/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def _convert_image(screenshot: bytes) -> tuple[bytes, str]:
img = Image.open(io.BytesIO(screenshot)).convert("RGB")
img = img.crop((0, 0, 825, 1200))
img = img.quantize(kmeans=0, palette=palette_img).convert("L")
img = img.rotate(90, expand=1)

hash = hashlib.sha256(img.tobytes()).hexdigest()

Expand Down

0 comments on commit c6653f6

Please sign in to comment.