[Python] Insert image in pdf file using python

Discussão em 'Python' iniciado por Stack, Maio 31, 2025.

  1. Stack

    Stack Membro Participativo

    I want to insert an image in a pdf using a python script. I have given a jpg as well as a png file. I want to be able to specify a page number, x and y coordinates and heigth and width of the image. Then I want the image inserted at the given point.

    I have found this question: How to add image to PDF file in Python?, but the answer is only providing a way to overlay another pdf page on an existing one.

    Continue reading...

Compartilhe esta Página