Created
June 1, 2020 17:36
-
-
Save Ze1598/eea8509e6d184da0703da3f47474cc0a to your computer and use it in GitHub Desktop.
quotespy: basic quotespy.graphics usage with custom graphic settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import quotespy.graphics.graphics as g | |
| graphic_info = { | |
| "title": "strange_days", | |
| "text": "Say goodbye to the silence, we can dance to the sirens" | |
| } | |
| custom_settings = { | |
| "font_family": "Inkfree.ttf", | |
| "font_size": 250, | |
| "size": [2800, 2800], | |
| "color_scheme": ["#000", "#fff"], | |
| "wrap_limit": 20, | |
| "margin_bottom": 312.5 | |
| } | |
| g.create_graphic(graphic_info, custom_settings, save_dir="output") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment