img2pptx-cli
v0.1.2
Published
A tool to generate pptx from a image folder.
Downloads
12
Readme
Img2pptx
A simple CLI for creating pptx from images folder. Using PptxGenJS for pptx generation.
Installation
$ npm install -g img2pptx
Usage
- -f, --folder [path]','Image folder path')
- -t, --target [path]','PPTX output path')
- -n, --name-gen','Generate file name to slide')
Example:
|- pics
|--pic01.jpg
|--pic02.jpg
|--pic03.jpg
|--pic04.jpg
Use generate command :
$ img2pptx -f ./pics -t ./my-pptx
A new pptx file will be generated contains all the images in each individual slide.
./my-pptx.pptx
___________________________________
| _ ____________________ |
| |_| pic01 | __ | |
| _ | __( )__ | |
| |_| pic01 | ( __ (o) __) | |
| _ | ( _ ) (o) | |
| |_| pic03 | \_ | _/ \|/ | |
| : |____________________| |
|__________________________________|
Version
0.1.2