Skip to content

Commit

Permalink
Restore the comment about using PIL for converting tables into diff…
Browse files Browse the repository at this point in the history
…erent formats
  • Loading branch information
jrycw committed Nov 22, 2024
1 parent a2ee377 commit 23f12cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions great_tables/_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def _save_screenshot(

from PIL import Image

# convert to other formats (e.g. pdf, bmp) using PIL
Image.open(fp=BytesIO(el.screenshot_as_png)).save(fp=path)


Expand Down

0 comments on commit 23f12cb

Please sign in to comment.