Skip to content

Commit

Permalink
kokona_say 更高清的底图 (#220)
Browse files Browse the repository at this point in the history
* Delete 01.png

* Delete 02.png

* Update resource_list.json

* Create image_dir

* Add files via upload

* Update resource_list.json

* Delete _

* Update __init__.py

* Update __init__.py

allow_warp

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
dkqdb66 and github-actions[bot] authored Dec 22, 2024
1 parent 9b919db commit e190f57
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions meme_generator/memes/kokona_say/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,23 @@ def kokona_say(images, texts: list[str], args: Model):
try:
if left:
frame.draw_text(
(0, 0, 680, 220),
(50, 0, 650, 220),
text,
max_fontsize=100,
min_fontsize=50,
fill="black",
lines_align="center",
allow_warp=True,
)
else:
frame.draw_text(
(frame.width - 680, 0, frame.width, 220),
(frame.width - 650, 0, frame.width - 50, 220),
text,
max_fontsize=100,
min_fontsize=50,
fill="black",
lines_align="center",
allow_warp=True,
)
except TextOverLength:
raise TextOverLength(text)
Expand Down
Binary file modified meme_generator/memes/kokona_say/images/01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified meme_generator/memes/kokona_say/images/02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions resources/resource_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -4137,11 +4137,11 @@
},
{
"path": "kokona_say/images/01.png",
"hash": "a4ba92d08a0194c0b6c299678654e19a"
"hash": "865e1b6d5a16cfaefc54e5eeaeea78a0"
},
{
"path": "kokona_say/images/02.png",
"hash": "747f05f242ecc3745416e69db41633ea"
"hash": "76bdef6330d63d75f03fecefee7d806d"
},
{
"path": "kokona_seal/images/1.png",
Expand Down

0 comments on commit e190f57

Please sign in to comment.