We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to save slide to an image directly on third party storage S3 (C# .NET)

What I would like to do is the following workflow

* upload a presentation (.pptx) to my S3 bucket
* convert all slides of the presentation to images
* directly save them to my S3 bucket

What I currently have looks like:

str_uri = 'http://api.aspose.com/v1.1/slides/sample1.pptx/slides/1?format=jpeg&storage=patience-dev&folder=patience-dev'
signed_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
response_stream = RestClient.get(signed_uri, :accept => 'application/json')
Aspose::Cloud::Common::Utils.save_file(response_stream, "Output.jpg")

But this GET request returns the image to my local machine, so I would have to upload it back to S3. Isn’t it possible to tell your API to directly save the image to S3?

Furthermore, is there an option to process all slides at once?

best, stephan

Hi Stephan,

Thank you for considering Aspose.

Regarding your requirement of converting the whole presentation at once and storing on the third party storage i.e. Amazon S3 storage in your case, please see the following documentation link regarding how to convert all the slides in a presentation to image format.


Please refer to the below link regarding splitDocument (Controller Resource) which has details regarding how you can save the resultant image files on Amazon S3 storage directly.


In case you need any further assistance, please feel free to contact support.

Thanks & Regards,

Hello Owais,

thank you very much for the quick reply. This was very helpful and exactly what I was looking for.

regards, stephan

Hi Owais

I just want those features as mentioned above. Can you guide me to implement that using Aspose.slide library. My requirements are:-

  1. I have bought the license for Aspose.slide library.
  2. Using this library I’m generating a PPTX file.
  3. **Steps how to use Aspose.slide lib. => **

a) I have developed a project using react+node.
b) When a user req. for generating PPTX file at that time I call a jar file(Aspose.slide) using the command 'java -jar builder.jar ./definition.json ./test.pptx '
c) In the above command definition.json file is the input for generating PPTX file.
d) In that definition.json file, I have given ref. of S3 bucket image URL. But I’m getting an error like => Exception in thread “main” com.aspose.slides.exceptions.FileNotFoundException: Can’t find file: https://s3.ap-south-1.amazonaws.com/ec2-13-126-59-226.ap-south-1.compute.amazonaws.com/files/....../test.pptx.
** NOTE: the given URL is publically accessible. **

  1. Now can you help me how to fix it?
  2. My second issue is that I just want to save new generate PPTX file to S3 bucket without using any cloud SDK as you mentioned in the above-given link because I have bought the license for lib not for Aspose.slide APIs endpoint.


I have observed similar inquiry from you in another thread as well. Please refer to following thread for your kind reference.

S3 Bucket with aspose.slide lib

Thanks!!! @mudassir.fayyaz.

It works for me.


It’s good to know things have worked on your end. Please feel free to share if there is any further help we may offer you.