Skip to content

AsahiTokunaga/Image2Pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image2Jpeg

This tool made by Rust provides amazing experience of creating pdf from jpeg, png and avif!

Just run 'cargo run [path]' and get PDF.

Note

This tool doesn't repair SOI Maker.

Features

  • Made by Rust
  • Get command line args
  • Supproted format is jpeg, png and avif
  • Asynchronous
  • Run on Tokio Runtime

How to use

  1. Install Rust
    $ curl https://sh.rustup.rs -sSf | sh
    Add PATH follow the install message
  2. Install nasm and dav1d
    • Debian

      $ sudo apt update
      $ sudo apt install nasm dav1d-devel pkg-config
    • Fedora:

      $ sudo dnf update
      $ sudo dnf install nasm dav1d-devel pkg-config
    • Arch Linux:

      $ sudo pacman -Syyu
      $ sudo pacman -S nasm dav1d pkgconf
  3. Add PKG_CONFIG_PATH
    To get dav1d's PATH
    $ pkg-config --variable=pcfiledir dav1d
  4. git clone
    $ git clone https://github.com/hihimamuLab/Image2Pdf.git
    $ cd Image2Pdf
  5. cargo run
    $ cargo run [Path of dir that has images]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published