Compare commits

..

No commits in common. "master" and "v1.0.3" have entirely different histories.

3 changed files with 1 additions and 31 deletions

View File

@ -1,6 +0,0 @@
"""
img2pdf - Leak Technologies
Convert a single image or folder of images into a PDF file (sorted by filename).
"""
__version__ = "1.0.3"
__author__ = "Stu Leak <leaktechnologies@proton.me>"

View File

@ -1,24 +0,0 @@
import argparse
from pathlib import Path
def parse_arguments():
parser = argparse.ArgumentParser(
description="Convert an image or folder of images into a PDF file."
)
parser.add_argument(
"input_path",
type=str,
help="Path to an image file or a folder containing images.",
)
parser.add_argument(
"-o", "--output",
type=str,
required=True,
help="Output PDF file path.",
)
parser.add_argument(
"--overwrite",
action="store_true",
help="Overwrite the output file if it already exists.",
)
return parser.parse_args()

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "img2pdf"
version = "1.0.4"
version = "1.0.3"
description = "Convert a single image or folder of images into a PDF file (sorted by filename)."
readme = "README.md"
requires-python = ">=3.8"