[Python] Create PDF from a list of images

Discussão em 'Python' iniciado por Stack, Abril 16, 2025.

  1. Stack

    Stack Membro Participativo

    Is there any practical way to create a PDF from a list of images files, using Python?

    In Perl I know that module. With it I can create a PDF in just 3 lines:

    use PDF::FromImage;
    ...
    my $pdf = PDF::FromImage->new;
    $pdf->load_images(@allPagesDir);
    $pdf->write_file($bookName . '.pdf');


    I need to do something very similar to this, but in Python. I know the pyPdf module, but I would like something simple.

    Continue reading...

Compartilhe esta Página