Skip to content

Commit

Permalink
adjust forbid
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Dec 14, 2023
1 parent 3ef74dd commit aa50f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memes/forbid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def forbid(images: List[BuildImage], texts, args):

def make(img: BuildImage) -> BuildImage:
return frame.copy().paste(
img.resize((304, 324), keep_ratio=True), (0, 0), below=True
img.convert("RGBA").resize((304, 324), keep_ratio=True), (0, 0), below=True
)

return make_jpg_or_gif(images[0], make)
Expand Down

0 comments on commit aa50f51

Please sign in to comment.