Added some fixes
This commit is contained in:
@@ -10,10 +10,8 @@ from PIL import Image, ImageDraw, ImageFont
|
||||
# CONFIG
|
||||
# ─────────────────────────────────────────────
|
||||
DEFAULT_FONT_CANDIDATES = [
|
||||
"fonts/AnimeAce2_reg.ttf",
|
||||
"fonts/WildWordsRoman.ttf",
|
||||
"fonts/ComicRelief-Regular.ttf",
|
||||
"fonts/NotoSans-Regular.ttf",
|
||||
"fonts/ComicNeue-Regular.ttf",
|
||||
]
|
||||
DEFAULT_FONT_COLOR = (0, 0, 0)
|
||||
DEFAULT_STROKE_COLOR = (255, 255, 255)
|
||||
@@ -501,7 +499,7 @@ def render_translations(
|
||||
|
||||
if __name__ == "__main__":
|
||||
render_translations(
|
||||
input_image="002-page.png",
|
||||
input_image="001-page.png",
|
||||
output_image="page_translated.png",
|
||||
translations_file="output.txt",
|
||||
bubbles_file="bubbles.json",
|
||||
|
||||
Reference in New Issue
Block a user