Convert PPT to image (tiff/jpeg/etc.) with HTML5/javascript


Hi,

I found many examples using the SDK to upload/convert/save using Java, .Net, Ruby, etc. But, I would like to use HTML5/javascript with the Rest API to convert and save the images in local storage.

My use case is a user will select a local PPT file. This file will be uploaded and converted to images, by POSTing the formdata. This should not save the original file data to the cloud. The response would then be either xml or json manifest with links to the images, which can be accessed remotely or saved in local storage.

Is this possible? Thanks in advance.

Best Regards,
Patrick

Hi Patrick,

Sorry, JavaScript examples are not available at the moment but we are planning to add these examples in near future. In the meantime, you can use attached JavaScript examples to convert a presentation to TIFF or other formats and convert specific slides to images.

You can also convert your presentation to PDF and then use splitDocument resource of Aspose.Pdf for Cloud API to convert all or specific pages to images.

Best Regards,

Hi,


Thanks for the reply and examples. I will take a look.

My original question was whether it would be possible to convert a document “on-the-fly” without uploading first to storage, converting, then deleting from storage. I want to POST a document with specified output format and receive back the converted response data. Is this possible?

Best Regards,
Patrick

Hi Patrick,

We're sorry about the delayed response. Yes, this feature is supported. You can convert the presentation document to an image file format without using storage. You can achieve this feature by using the PUT method. Please visit the appropriate documentation link here:
http://www.aspose.com/docs/display/slidescloud/Convert+PowerPoint+Documents+to+other+File+Formats+without+Using+Storage

We're sorry to share with you that the JavaScript example is missing. This task has been logged under ticket id SUPPORT-2338 in our issue tracking system. We'll notify you once the JavaScript example is available. We're sorry for your inconvenience.