Skip to content

Instantly share code, notes, and snippets.

@Ze1598
Created June 1, 2020 17:36
Show Gist options
  • Save Ze1598/eea8509e6d184da0703da3f47474cc0a to your computer and use it in GitHub Desktop.
Save Ze1598/eea8509e6d184da0703da3f47474cc0a to your computer and use it in GitHub Desktop.
quotespy: basic quotespy.graphics usage with custom graphic settings
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