[![][1] along with unit tests. Our users have requested a number of features recently and today we are pleased to announce that we’ve enhanced the conversion methods. Now all conversion methods support custom output filenames and file contents as response. The [Aspose Cloud Python SDK][2] makes it easy for Python developers to work with Microsoft Word documents, Microsoft Excel spreadsheets, Microsoft PowerPoint presentations, Adobe PDFs, OpenOffice formats, barcodes, OCR and email formats and protocols in their applications.

File Contents as Response

This new enhancement allows developers to use converted files in memory instead of storing them to local storage and then loading them again. This makes it easier to manipulate the files in memory and store the file as per your requirements.

Sample Code Aspose.PDF - Convert PDF to Image and Get Image Contents in Response

import asposecloud
from asposecloud.storage import Folder
from asposecloud.pdf import Converter

asposecloud.AsposeApp.app_key = '****'
asposecloud.AsposeApp.app_sid = '****'

fld = Folder()
response = fld.upload_file('./data/test_multi_pages.pdf')

converter = Converter('test_multi_pages.pdf')
response = converter. convert_to_image(1,'png',True) 

Custom Output Filenames

This feature allows developers to pass an extra parameter to all conversion methods to set output filename. This was the most requested feature recently. This feature bring more convenience to developers who want to use Aspose Cloud SDKs in a more personalized way.

Sample Code Aspose.Cells - Convert Worksheet to Image and Save Output File with custom name

import asposecloud
from asposecloud.storage import Folder
from asposecloud.words import Converter

asposecloud.AsposeApp.app_key = '****'
asposecloud.AsposeApp.app_sid = '****'

fld = Folder()
response = fld.upload_file('./data/test_multi_pages.docx')

converter = Converter('test_multi_pages.docx')
response = converter. convert_to_image('Sheet1','png',False,None,'MyOutputFile.png') 

Download

Start a Free Trial Today

Start a free trial today - all you need is to [sign up][3] with Aspose Cloud service. Once you have signed up, you are ready to try powerful file processing features offered by Aspose Cloud.

[1]: https://blogs.asposeptyltd.com/cloudsite/wp-content/uploads/sites/15/2014/04/asposeCloudAPIs.png “asposeCloudAPIs”)](https://blogs.asposeptyltd.com/cloudsite/wp-content/uploads/sites/15/2014/04/asposeCloudAPIs.png)We recently announced a revamped version of the [Aspose Cloud Python SDK](http://www.aspose.com/cloud/total-api.aspx “Aspose Cloud SDK” [2]: http://www.aspose.com/cloud/total-api.aspx “Aspose Cloud SDK” [3]: https://cloud.aspose.com/SignUp