from PIL import Image, ImageDraw, ImageFont
# Load the original image
image_path = "your_image.jpg" # ← apni image ka path yahan dein
img = Image.open(image_path).convert("RGBA")
draw = ImageDraw.Draw(img)
# Load a bold font (adjust path for Windows if needed)
font_path = "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"
font_large = ImageFont.truetype(font_path, 60)
# Clear the old "$43.00" text
draw.rectangle([210, 370, 440, 440], fill="white")
# Draw new "$83.00" text
draw.text((220, 370), "$83.00", font=font_large, fill="black")
# Save the updated image
img.save("updated_payment_image_83.jpg")
img.show()
Gimmin VEO 3 — AI Video Generator 🎮 Gimmin VEO 3 — AI Video Generator Ultra Plan — 25K Created Generate Video
Comments
Post a Comment