๐ Fileasy
Fileasy is a simple, lightweight command-line interface (CLI) tool to convert between image files and PDFs, and to merge multiple PDF files. It supports common image formats like JPG, PNG, BMP, TIFF, and more.
โจ Features
โ
Convert images to PDF
โ
Convert PDFs to images
โ
Merge multiple PDF files
โ
Combine image conversion and merging in one step
๐ฆ Installation
You can install Fileasy directly from PyPI:
pip install fileasy
๐ Usage
fileasy [-h] [-c] [-m] [-f FILES [FILES ...]] [-o OUTPUT]
Fileasy is a simple CLI tool to convert images to PDFs and vice versa, and merge PDFs'
options :
-h, --help Show this help message and exit
-c, --convert Convert the input file
-m, --merge Merge the input files
-f, --files FILES [FILES ...] List of files to merge
-o, --output OUTPUT Output file for conversion
๐งช Examples
Convert an image to PDF
fileasy -c -f image.jpg -o output.pdf
Convert a PDF to images
fileasy -c -f document.pdf -o image_output.jpg
Merge multiple PDF files
fileasy -m -f file1.pdf file2.pdf -o merged.pdf
Convert multiple images and merge into one PDF
fileasy -c -m -f img1.jpg img2.jpg -o merged.pdf
๐ง File Format Support
Image Input | .jpg , .jpeg , .png , .bmp , .tif , .tiff , .gif , .webp |
PDF Input | .pdf |
๐ License
This project is licensed under the Apache License.