| @@ -4,8 +4,8 @@ Converts `.ppt,` `.pptx`, `.odp` and `.key` file to `pdf or/and image(png, jpg, | |||
| ## Dependencies | |||
| Please install libreoffice, imagemagick and might required ghostscript for Mac os | |||
| **(Note: Please do restart after installed all required software.)** | |||
| Please install `[libreoffice](https://www.libreoffice.org/)`, `[imagemagick](https://www.imagemagick.org/script/index.php)` and might required `[ghostscript](https://www.ghostscript.com/)` for Mac os | |||
| **(Note: Please do restart your machine after installed all required software.)** | |||
| ## Usage Example | |||
| @@ -17,10 +17,10 @@ const options = { | |||
| libreofficeBin: "C:\\Program Files\\LibreOffice\\program\\soffice.exe", // Optional | |||
| sourceFile: "C:\\convert-pdf-img\\sample.pptx", // `.ppt,` `.pptx`, `.odp`, `.key` and `.pdf` | |||
| outputDir: "C:\\convert-pdf-img\\sample", | |||
| img: true, | |||
| imgExt: "jpg", // Optional and Default image conversion format is.png | |||
| reSize: 800, // Optional and Default Resize is 1200 | |||
| density: 120, // Optional and Default density value is 120 | |||
| img: false, | |||
| imgExt: "jpg", // Default value png | |||
| reSize: 800, // Default Resize is 1200 | |||
| density: 120, // Default density value is 120 | |||
| }; | |||
| // Convert document to pdf and/or image | |||