0.1.2 • Published 7 years ago

img2pptx-cli v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

License

MIT

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago