最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Is it possible to extract slides from powerpoint and save them as images using node.js? - Stack Overflow

programmeradmin0浏览0评论

We are curently developing an app, which runs on sailsjs (node + mongo) as a backend.

Our clinet wishes to have a specific funcionality, which is uploading a *.ppt files and possibly extract all slides and save them as images (at least, much better would be to extract all texts and images separately - but let's not make it more difficult for now ;))

So my question is, can it be achieved somehow with nodejs and/or maybe some other tools which would cooperate with our app?

Scenario is simple: - user uploads a *.ppt - application returns a set of images which represents all slides

Thanks for any tips/links/solutions.

We are curently developing an app, which runs on sailsjs (node + mongo) as a backend.

Our clinet wishes to have a specific funcionality, which is uploading a *.ppt files and possibly extract all slides and save them as images (at least, much better would be to extract all texts and images separately - but let's not make it more difficult for now ;))

So my question is, can it be achieved somehow with nodejs and/or maybe some other tools which would cooperate with our app?

Scenario is simple: - user uploads a *.ppt - application returns a set of images which represents all slides

Thanks for any tips/links/solutions.

Share Improve this question asked Feb 12, 2015 at 10:29 DeJoTDeJoT 832 silver badges6 bronze badges 1
  • Did my answer helped eventually? – Or Guz Commented Feb 17, 2015 at 14:42
Add a ment  | 

2 Answers 2

Reset to default 2

You might find this useful:

www.aspose. -

Aspose.Slides for Cloud is a REST based API which allows you to read, edit and convert PowerPoint documents in the cloud. You can convert PowerPoint documents into various other formats like TIFF, PDF, PPTX, XPS and PPT etc. You can extract the contents like text and images from the PowerPoint documents.

In the following link you can find how to save a slide to image using their api, they also have a nodejs example. aspose. - slide to image

Good luck,

I have created Node.js package to convert files.
The package does following things

  • Convert PDF to PNG
  • Convert PPT to PDF
  • Convert PPT to PNG

Here is the link of the project GITHUB

OR

Download Node package by

npm i file-format-converter

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论