Skip to content

engdan77/images_to_pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ„ Images to PDF πŸ“„

Background

Many times in my past I've missed a tool for easily converting number of images into one or many PDF files Γ‘ la "collage" (various sizes), "grid" (side-by-side), and adjust the quality and therefore the size on-the-fly often when one wish to print photos to a printer or share photos with others - this is to me found very valuable. As well as when my wife been asking how she'd convert "photographed" A4 pages into PDF so I took a swing and developed this little tool that for sure will aid me and perhaps other may find use of.

Features

  • Scans folder recursivelt and converts from common image formats such as PNG, JPG, TIFF to multi-page PDF's
  • Different layouts such as
    • Auto (collage)
    • Grid (side-by-side rows and columns)
    • Lane (broad images in row)
    • Document (suitable for scanned A4 one per page)
  • Limit number of images per page
  • Limit number of pages per PDF (splits as found needed)
  • Optionally include filenames (properly formatted, e.g. support for new lines) inlined within images
  • Shuffle the order of images

How to run - with no need to install

Ensure you have UV the package installed following this instruction, then run the following command

GUI version

uvx --from https://github.com/engdan77/images_to_pdf.git images-to-pdf-gui <image path optionally>

image-20250612143434593

CLI version

uvx --from https://github.com/engdan77/images_to_pdf.git images-to-pdf

image-20250612143617919

About

πŸŒ„ Convert images to PDF document(s)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages