mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
add again pillow v10
This commit is contained in:
parent
dc37d8e78b
commit
bf64b3b0ca
2 changed files with 3 additions and 7 deletions
|
|
@ -32,8 +32,6 @@ async def draw_meme_text(image_path, text):
|
|||
(left, top, right, bottom) = text_bbox
|
||||
u_width = abs(right - left)
|
||||
u_height = abs(top - bottom)
|
||||
text_size = (u_width, u_height)
|
||||
# u_width, u_height = draw.textsize(u_text, font=m_font)
|
||||
|
||||
draw.text(
|
||||
xy=(((i_width - u_width) / 2) - 1, int((current_h / 640) * i_width)),
|
||||
|
|
@ -81,8 +79,6 @@ async def draw_meme_text(image_path, text):
|
|||
(left, top, right, bottom) = text_bbox
|
||||
u_width = abs(right - left)
|
||||
u_height = abs(top - bottom)
|
||||
text_size = (u_width, u_height)
|
||||
# u_width, u_height = draw.textsize(l_text, font=m_font)
|
||||
|
||||
draw.text(
|
||||
xy=(
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ async_pymongo
|
|||
pymongo
|
||||
python-dotenv
|
||||
requests
|
||||
bs4
|
||||
beautifulsoup4
|
||||
aiohttp
|
||||
chevron
|
||||
gTTS
|
||||
|
|
@ -18,7 +18,7 @@ psutil
|
|||
python-dateutil
|
||||
telegraph
|
||||
hachoir
|
||||
Pillow==9.5.0
|
||||
Pillow==10.0.0
|
||||
httpx[http2]
|
||||
git+https://github.com/yasirarism/vcsi
|
||||
git+https://github.com/yasirarism/iytdl
|
||||
|
|
@ -28,4 +28,4 @@ pyrate_limiter
|
|||
cachetools
|
||||
cloudscraper
|
||||
openai
|
||||
GitPython
|
||||
GitPython
|
||||
Loading…
Reference in a new issue