Skip to content

Commit d201620

Browse files
Copilotdvelton
andauthored
fix: update _img_to_bytes docstring to reflect BytesIO return type
Agent-Logs-Url: https://github.com/github/awesome-copilot/sessions/048d704a-d78a-4a46-80d9-a155ff1e0d85 Co-authored-by: dvelton <48307985+dvelton@users.noreply.github.com>
1 parent b14575f commit d201620

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skills/eyeball/tools/eyeball.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def _stitch_vertical(images, gap=4):
402402

403403

404404
def _img_to_bytes(img):
405-
"""Convert PIL Image to PNG bytes."""
405+
"""Convert PIL Image to a PNG BytesIO buffer (file-like object)."""
406406
buf = io.BytesIO()
407407
img.save(buf, format="PNG")
408408
buf.seek(0)

0 commit comments

Comments
 (0)