ming 3 anni fa
parent
commit
40c4b20c82
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -301,7 +301,7 @@ def file_prepare_v2(name, name_hash,text_content,image_urls):
 
 def txt2image(content, save_target):
     unicode_text = trim_punctuation(content)
-    font = ImageFont.truetype(font="DFT_B7.ttc", size=30)
+    font = ImageFont.truetype(font="DFT_B7.ttc", size=40)
     text_width, text_height = font.getsize(unicode_text)
     canvas = Image.new('RGBA', (700, 500), (255, 0, 0, 0) )
     draw = ImageDraw.Draw(canvas)