How to join png into one file or one pdf and how to join more pdf files

I had the will to join more images taken from a Powerpoint file in just one vertical image file. Searching on Stack overflow I found something and I modified so that it works with any file in the directory where you have the png files (instead of 3 of a given name).


How to join more png in one pdf file

If you want instead join more png into one pdf, use this script.

How to make one pdf from more pdf

You need the PyPDF2 module

Find the code here

Subscribe to the newsletter for updates
Post written by Avatar A python enthusiast

My youtube channel
Twitter: @pythonprogrammi - python_pygame

Higlighted videos

Speech recognition game
Pygame cheatsheets Videos about this map editor
New free game: Crystal of time
How to make a map editor 1
How to make a map editor 2
How to make a map editor 3
Map editor 1.5
Map editor 1.6
How to make a videogame map editor with Python - MEP v. 2.1
Map editor for 2d platform game in Python with Pygame v.3.0
How to save a list with pickle with python
Pygame Map Editor 4.0 for Crystals of time
Github repository
Newest branch (to clone it with git)
git clone --branch cotb2