User-friendly, affordable, and packed with different features, DocHub is a healthy and cost-efficient alternative to Alliance Imager. Try it now and learn how to squeeze the maximum of our solution with easy-to-use feature shortcuts.
in this video im going to show you how to convert jpg or png files to pdf so if you do a quick google search and if you search for image to pdf youre going to get roughly 4.8 billion results all right so lets step into the script so im going to import the os module first and increase the font size in my project folder i have several images that i want to convert to pdf files and some of the files are jpg file and some of the files are png files and to perform the image conversion ill be using pillows library so from pio im going to import the image class and you can the library using the command pav pillow all right so going back to my project folder im going to create a new folder im in the folder pdfs and i want to save all my converter files to this pdfs folder here im going to create a variable to point to the output folder and its going to be pdfs i want to create another variable to point to the image folder all right so on to iterate the files ill us