79756139

Date: 2025-09-04 19:20:16
Score: 1.5
Natty:
Report link

from PIL import Image

from fpdf import FPDF

# Image file ka path (image ko isi naam se save kar lein)

image_path = "1000040180.jpg"

# Load the image

image = Image.open(image_path)

# Create PDF

pdf = FPDF()

pdf.add_page()

pdf.image(image_path, x=10, y=10, w=190) # A4 width ke hisaab se set kiya gaya

# Save PDF

pdf.output("Anas_Khan_Resume.pdf")

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: D Gsm