Should I use PIL or ReportLab for converting images to PDF. Code examples given

I have seen solutions using PIL and ReportLab. Which of these two would be the better way to go. My Images are 1152 x 1565 at 150 dpi

from reportlab.pdfgen import canvas
import os

# page coordinates are in 1/72 nd of an inch
# width =  595 height = 841 ==> A4
# width =  553 height = 751 ==> Image size at 150 dpi

c = canvas.Canvas("sample.pdf")

for filename in os.listdir():
    c.drawImage(filename, 0, 0, width=595, height=841)


Or Using PIL I have done

from PIL import Image
import os

im_list = []
for file in os.listdir():
    img =

os.chdir("..")"image.pdf", "PDF", resolution=100.0, save_all=True, append_images=im_list)

I know the code above has a small issue with the last page being printed as page 1 as well (which I think I can fix), but other than that is there a preferred module for writing multiple images to multiple pages of a pdf?

Thank you