1.3.0 • Published 5 years ago

file-format-converter v1.3.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
5 years ago

FileFormatConverter

This node package let you convert documents from PPT to pdf , PDF to Images and PPT to Images.

Requirments

FileFormatConverter requires following softwares to be installed

unoconv LibreOffice-dev ImageMagick

Installation

npm i file-format-converter

Debian/Ubuntu:

sudo apt-get install unoconv libreoffice-dev imagemagick

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Basic Usage

const fileConverter = require('./index')


//Convert PowerPoint to PDF

fileConverter.PowerPointToPdf('./Sample/Example.pptx','./output/').then(pdfile =>{
    console.log("PDF FILE IS ",pdfile);
})

//Convert PowerPoint to Images

fileConverter.powerpointToImages('./Sample/Example.pptx','./output/').then(imageAray =>{
    console.log("Images Data ",imageAray);
})

//Convert PDF to Images

fileConverter.PdfToImages('./Sample/Example.pdf','./output/').then(imageAray =>{
    console.log("Images Data ",imageAray);
})
1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago