Skip to content
 
 

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image2pdf

Convert a list of image files to a single pdf file.

Inspired from Img2pdf project.

Features:

  • Support file formats: BMP, PNG, JPG
  • Support color type: L8, La8, Rgb8, Rgba8, Bgr8, Bgra8
  • For image with alpha channel, automatically apply white background

Usage

1. With custom pagesize

image2pdf assets/* --output output.pdf --pagesize 150mmx150mm

Output: Pdf file

2. Without pagesize option

image2pdf assets/* --output output.pdf

Output: Pdf file

3. With pagesize A4 option

image2pdf assets/* --output output.pdf --pagesize A4

Output: Pdf file

4. With pagesize A4 landscape option

image2pdf assets/* --output output.pdf --pagesize A4^T

Output: Pdf file

Installation

cargo install image2pdf

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages