Create a Chart in Excel file and Export Chart to Image with Cloud API

Create charts in excel files

Aspose.Cells REST APIs enrich your Cloud-based applications with spreadsheet processing features. The API comes with several SDKs that are distributed under an MIT license, so you can simply integrate the features in your applications. This utility lets you focus on what matters the most, while minor details being managed by the SDK itself.

In the context of spreadsheet processing, charts are a very useful way to summarize information and present it in visual form. Therefore, let us explore the chart creation as well as chart rendering support in Aspose.Cells Cloud. Supported Chart types include Area, Bar, Bubble, Column, Cone, Pie, Line and many others. Let us add a Pie chart using Aspose.Cells for .NET SDK.

You need to specify several parameters in this code snippet to add the chart in a specific Worksheet of a Workbook, and other information including Chart Area, Chart Title, Category Data, and others. This code snippet adds a Pie chart in your template file, as shown in the screenshot below:

Chart in Excel

You can notice the values in the first column and the Pie chart added to the desired worksheet in your Cloud Storage. Chart title and other information are the same as the code snippet we have discussed above. Likewise, you can create other charts that can be different or complicated than this demonstration.

Chart to Image Rendering in Aspose.Cells for .NET SDK

A chart to image rendering is another useful feature of Aspose.Cells Cloud. Let us continue the example from the same workbook where we have added the chart in the above example. You can use the below .NET code snippet to convert a chart to an image. However, please keep in mind that the charts are zero-based index so the first chart in the worksheet is referred with zero. Following example elaborates on the feature and clarifies this point as well:

You can render a chart to PNG, JPEG, BMP, TIFF, and other image formats. However, the response of this API call will include an instance of System.IO.Stream class that will contain the image of the Chart. Since the images are visual objects, let us convert this stream to a File. Below is one of the possible approaches you can use for this purpose:

The high quality rendered image of the chart will look like the screenshot below:

Chart to image

Likewise, the API includes many other out of the box features for spreadsheets creation, manipulation, and conversion. You can further explore API references to learn more about Charts support and other features in Aspose.Cells Cloud. We host many SDKs at GitHub that include several examples for hands-on experience with the API. You can also refer to API documentation where we maintain the most basic and frequent use cases. In case of any concerns, please feel free to contact us for any help via Free Support Forum.

Related Post

Create, Edit or Convert Excel Files with Aspose.Cells Cloud API

Posted in Aspose.Cells Cloud Product Family | Tagged , , , , , , , | Leave a comment

Convert Word to HTML and Vice Versa using REST APIs

Aspose.Words Cloud API

Aspose.Words Cloud enables you to convert Word documents, including DOC and DOCX, to HTML file format. Word to HTML conversion is helpful in situations where you want to show contents of a Word document online and make them search engine friendly. The additive advantage is that no special viewer or 3rd party application is needed for viewing HTML files. Aspose.Words Cloud provides the following APIs to convert a Word Document to HTML:

Sr. No.APIDescription
1GET /words /{name}Exports the document into the specified format.
2PUT ​/words​/convertConverts document from the request’s content to the specified format.
3PUT ​/words​/{name}​/saveAsConverts document to destination format with detailed settings and save the result to storage.

Word to HTML Conversion

Before you call the above APIs, you need to register an account with Aspose Cloud and get your App Key and SID at Cloud Dashboard. As soon as you sign up, a generous Free Trial will be awarded to you so that you can test APIs without any evaluation limitations.

The following cURL example shows how to convert DOCX to HTML:

This code snippet efficiently converts DOCX to HTML files. It will not create any additional images or style sheets. For instance, it converts the image in the DOCX file to the base64 image so that you can get the highest-fidelity output. Following are the screenshots of files:

Input DOCX file


Output HTML file (Google Chrome preview)

Word to HTML

You can notice the quality of HTML rendering in the above screenshots.

Word to HTML Conversion with Detailed Settings

PUT /words/{name}/saveAs API lets you convert Microsoft Word document to HTML with details settings. The following cURL example generates a ZIP file as output because we have set ‘ZipOutput’ to ‘true’ in HtmlSaveOptions. For a complete list of HtmlSaveOptions, please check the documentation.

The generated ZIP file will include the HTML file and the images as PNG, JPG, etc. instead of converting them to base64 images. Let’s take a look at a comparison screenshot showing the source of HTML files generated by these code snippets.

The marked sections on this image clarify how both approaches work. The left side displays the image tag containing data as base64 image. While the right side, captured from, displays the image as a local PNG file.

HTML to Word Conversion

We have addressed the Word to HTML conversion in detail. Let us check out HTML to Word conversion, which is another worth-mentioning feature of Aspose.Words Cloud. It lets you convert a web-page to DOCX simply by specifying the URL. The cURL example is pretty simple, as under:

The rendering engine is efficient enough to produce WYSIWYG output in the DOCX file. Following is the screengrab of the output DOCX file.

The heading levels, lists, indentation, formatting, everything is in place that speaks volumes about the capabilities of the rendering engine. We hope you would love to use these simple yet powerful features. In case of any queries or concerns, please reach out to us via the Free Support Forum. We will be glad to assist you!

Suggested Articles

Perform Mail Merge in a Word Document

Convert Word to PDF

Posted in Aspose.Words Cloud Product Family | Tagged , , , , , , | Leave a comment

Reverse Image Search and Image Deskewing with Aspose.Imaging Cloud

Reverse image search API

We are excited to inform you about the newly introduced features in Aspose.Imaging Cloud API. Now it supports website-based image source for reverse image search. The image deskewing feature also makes the API second to none. We are continuously working and improving to offer you the best solutions possible.

Reverse image search is useful for finding duplicate or similar images. It can also help to monitor obscene or graphic content. You can also counter copyrights violations or trademark counterfeit by searching digitally signed images with the reverse search. Moreover, image deskewing is another feature that adds value to Aspose.Imaging Cloud API. It is also relevant to scanned PDF documents where skewed images often exist. Such PDF documents are frequently converted to searchable PDF documents where the results can be improved by deskewing the images. Let us dissect these features below.

Reverse Image Search using Aspose.Imaging Cloud SDK for Python

Several SDKs are available to communicate with Aspose.Imaging Cloud API. The SDKs take care of all minor details so that you can proceed with your requirements hassle-free. The SDKs include .NET, Java, Python, PHP, Ruby, Android, and Node.js. Here we will be working with a Python example:

First of all, you would need a free sign up at Aspose.Cloud. Install Python 2.7 or later and then add the following PyPi package to your requirements.txt.


Now import the dependencies as under:

import aspose-imaging-cloud

Now, you can use below Python code to call the APIs and test the feature:

The website-based image source for reverse image search is well elaborated in this example. It includes an additional step of resizing the image to demonstrate the efficiency of API. Image dimensions may differ but the API will produce reliable and accurate results. Following is the screenshot of the output:

As you can notice that the number of similar images, the URL and similarity percentage are shown by the parameters in API response.

Image Deskewing using Aspose.Imaging Cloud SDK for .NET

Images contain a lot of information and image processing has assumed a lot of importance these days. A very common use case is skewed images in scanned PDF documents or often in the images from mobile phone cameras. Aspose.Imaging Cloud API now includes the feature of deskewing the images. You can deskew the images in BMP, GIF, JPEG, JPEG2000, PSD, TIFF, WEBP, and PNG format. Let’s consider a .NET example for deskewing a TIFF image.

This example uploads a sample image to Cloud Storage, deskews it and uploads the updated image to Cloud Storage. Below are the screenshots of input and output TIFF images.

Input TIFF Image

Output TIFF Image (Deskewed)

Aspose.Imaging Cloud SDK for Ruby

Another important addition in SDKs lineup is that we have published Aspose.Imaging Cloud SDK for Ruby. It lets you integrate robust image processing features in your Ruby applications.

We encourage you to try these efficient features of the API and share your experiences with us. Let us know if you have any suggestions or queries. We look forward to hearing back from you via Free Support Forums.

Related Article:

Introducing Aspose.Imaging Cloud V3

Posted in Aspose.Imaging Cloud Product Family | Tagged , , , , | Leave a comment

Convert HTML to PDF with Aspose.PDF Cloud API


We often need to convert HTML files to PDF owing to several strengths of PDF file format. Considering the features of PDF files, Aspose.PDF Cloud API has been structured and designed to cater to all of your PDF related needs. You can create, edit or manipulate supported file formats. Among other file format conversions, HTML to PDF conversion is one of the famous use cases.

Aspose.PDF Cloud is a REST API so you would not need any complicated environment configurations or setups. Several SDKs are also available so that you can easily achieve the requirements. You can work with any of the SDK including .NET, Java, PHP, Android, Python, Ruby, Node.js, Swift or Go. Get started today by signing up with existing GitHub, Twitter, Facebook or Google account. A generous free trial is granted when you sign up.

Convert HTML to PDF file

You can convert HTML to PDF by following below steps:

  1. Upload the HTML file and related CSS, JS, Images as a single ZIP file to Cloud Storage
  2. Get JSON Web Token for authentication
  3. Call the API
  4. Save generated PDF file received as API response

Following cURL code follows these steps and converts the HTML file:

You can also notice several optional parameters specified with the API call in above code. These include page dimensions and page margins of the generated PDF document which can be specified beforehand. Please note that the standard unit in Aspose APIs is point, where 72 points equal 1 inch. Therefore, according to passed values, the margin is set to half-inch and the page dimensions equal to A4 size.

Input HTML file

Output PDF file

High fidelity PDF rendering with Aspose.PDF Cloud API via single API call is noteworthy in the screenshot. Likewise, this simple yet powerful feature is capable of rendering even complicated documents in WYSIWYG format.

Moreover, Aspose Cloud APIs support 3rd party cloud storages including Google Drive, Dropbox etc. The following cURL example is using Amazon S3 Storage for conversion:

This code will upload source file to AWS S3 Storage and will save generated PDF file on local storage. It also sets the page size of PDF document as of A4 standard, which can be verified from the document’s properties tab as in the screenshot below:

Java Example

Let us now consider a Java example to convert HTML to PDF with Aspose.PDF Cloud SDK for Java. The SDK is a wrapper around REST API in Java that allows you to process documents while gaining all benefits of strong types and IDE highlights. You can install it by adding below dependency in the project’s POM file:


Aspose.PDF Cloud SDK also includes a suite of unit tests. The unit tests also serve the purpose of examples that explain how to work with Aspose.PDF Cloud SDK for Java. Learn more.
Following is the Java code to convert HTML file to PDF document:

These are some simple and basic demonstrations of high fidelity rendering of PDF documents. Furthermore, the API is rich in features and comes with free trial without any watermarks or limitations. In case you have any concerns, questions or suggestions, get in touch with us via free support forums and we would love to assist you. Happy coding!

Suggested Articles:

Posted in Aspose.PDF Cloud Product Family | Tagged , , , , , , | Leave a comment

Convert FBX to PDF and GLB to PDF with high-quality rendering


3D file formats are quite common these days. From concept inception to planning and implementation, 3D modeling is used in all phases. Aspose.3D Cloud API is a feature-rich API that lets you create, edit or convert several supported file formats. You can translate, rotate or convert the files as per your requirements. Aspose.3D Cloud API helps you to manage file formats used in 3D modeling, gaming, computer-aided design and much more, on any platform without any dependency on 3D modeling and rendering software.

Aspose.3D Cloud is a REST API solution that helps you to add features to create, modify and convert 3D objects, models and entities in your applications. We also offer SDKs which are wrappers to interact with Cloud APIs. They take care of low-level details and manage the requests and responses so that you can dedicate your efforts to the main objectives. For now, you can integrate .NET or Java SDK in your applications, whereas we will be supporting more SDKs soon.

You can save a 3D file to any supported file format such as 3DS, AMF, RVM, DAE, DRC, FBX, gLTF, OBJ, PDF, PLY, STL, U3D, DXF, JT, X, and 3MF. You can convert a 3D file to another format with default settings or can pass a detailed setting parameter for the conversion. Most popular 3D format conversions include FBX to PDF and GLB to PDF conversions. You may need to convert a 3D file to PDF for printing, archival, approval or any other purpose.

FBX to PDF Conversion

Let us convert a sample FBX to PDF format file here as a demonstration. We will follow the below steps for the conversion:

  1. Upload the source FBX file to Cloud Storage
  2. Call the API to convert the FBX file to PDF
  3. Download converted PDF file from Cloud Storage

Following is the cURL code for FBX to PDF conversion:

Input FBX file

Output PDF file

You can notice how efficiently the PDF file has been rendered by Aspose.3D Cloud API. Let us take a look at GLB to PDF conversion feature as well.

GLB to PDF Conversion

Aspose.3D Cloud API is pretty simple and easy to work with. GLB to PDF conversion also includes a simple API call that converts input GLB file and returns output PDF document as API response. Below cURL example demonstrates GLB to PDF rendering:

Likewise, you can further explore these high fidelity renderings and other features with Free Trial while consulting API references. Do share your experience, feedback or suggestions with us via Free Support Forum.

Related Post:

Manipulate 3D Models and Objects with Aspose.3D Cloud

Posted in Aspose.3D Cloud Product Family | Tagged , , , , , , | Leave a comment

Create, Edit or Convert Excel Files with Aspose.Cells Cloud API

Create edit or convert excel files

Aspose.Cells Cloud is a REST API that allows you to perform simple as well as complex operations on your Excel files including, but not limited to, XLSX, XLS, XLSB, XLSM, and several other supported file formats. You can create these files from scratch as well as from existing template file. Moreover, you can also convert supported file formats with Aspose.Cells Cloud API. You can use many other features of the API without needing to install MS Excel or any other third party application.

You only need to Sign Up for free and get your App SID and App Key as guided in Creating and Managing Account. After the sign-up, you are ready to test the API as per your requirements. You may work with default storage or configure 3rd party storage with Aspose APIs. Now you are ready to test the basic yet important feature of Aspose.Cells Cloud API. You can use cURL commands to call the REST APIs from any platform. We also offer several SDKs that take care of low-level details for making a request and handling the responses, so that you may focus over the main code. These SDKs include .NET, Java, PHP, Python, Ruby, Node.js, Android, Swift and Perl.

Create Excel files without using MS Excel Application

Let’s create a blank workbook with Aspose.Cells Cloud API. Below are the steps you need to follow for creating an XLSX file:

  1. Get your App Key and App SID after signing up
  2. Get JSON Web Token
  3. Call the API
  4. Empty XLSX file will be created in your configured Storage

Output XLSX file created with Aspose.Cells Cloud API

Create XLSX file without MS Excel

Likewise, you can also create a workbook based on an existing template file. The below code elaborates on how can you utilize a template file while creating a new workbook. Please note, the example assumes that the template file, Template.xlsx in this case, is already uploaded in Cloud storage.

Once you have created a new file using any of the above approaches, you are all set to edit, manipulate and convert the XLSX, XLS or any other file format to supported file format. Here we will be adding a blank worksheet to newly created XLSX or XLS file.

Below sreenshot shows addition of empty worksheet with the name specified by you, in the curl code.

These examples elaborate on how simple is it to work with Excel files. Many other useful features are offered by Aspose.Cells Cloud API as you may visit API documentation and API references for further information. In case of any query, suggestion or feedback, please feel free to get in touch with us via Free Support Forum. We would love to hear back from you!

Related Post:

Apply Conditional Formatting to Excel Files

Posted in Aspose.Cells Cloud Product Family | Leave a comment

Convert HTML files to PDF with Aspose.HTML Cloud API


HTML files are usually the basic building block of the websites. HTML file format lets you manipulate or organize text, images, tables or any other page contents. Modern web applications generate reports or information in HTML format because almost all devices support this format without needing any additional or complex configuration. However, often we need to protect a document from modifications by means of document privileges or digital signing. You may also need to archive data for longer periods of time. In such cases, you can convert HTML files to PDF documents. There could be many other reasons to convert HTML files to PDF. Here we will be discussing this use case in connection with Aspose.HTML Cloud APIs.

Aspose.HTML Cloud API for HTML to PDF Conversion

Aspose.HTML Cloud is a REST API that allows you to convert or manipulate HTML documents and several other Supported File Formats. You can use it on any platform you may plan to work with, because it can be used with cURL commands or SDKs including PHP, Ruby, Python, Node.js and many others. You only need to sign up for free and test the API in its full capacity. We have already compiled all the necessary information about Creating and Managing accounts in the documentation article.

Convert HTML files to PDF

Here we will be discussing two popular but different use cases of HTML to PDF conversion using cURL. First of all, let’s consider the conversion of HTML file to PDF where HTML file exists on your local disk and the result PDF will be saved in your storage.

  1. Get your App Key and App SID after signing up
  2. Get JSON Web Token
  3. Call the API
  4. Generated PDF file will be saved in a specified folder on the Storage

Below code snippet shows all these steps and converts the HTML file to PDF:

Input HTML file displayed by browser (Google Chrome)

HTML to PDF rendering

Output PDF file generated by Aspose.HTML Cloud API

PDF output

Likewise, you can also convert HTML to PDF by using a URL. In response to your request, a PDF file will be received which you may save in your local file system. Below are the steps for converting a web page to PDF by specifying the URL.

  1. Get your App Key and App SID after signing up
  2. Get JSON Web Token
  3. Call the API where you need to pass the URL as parameter
  4. Generated PDF file will be saved in your local file system

Following code snippet follows these steps and can simply generate a PDF document:

Webpage displayed by browser (Google Chrome)

Source HTML file

Output PDF file generated by Aspose.HTML Cloud


As you can notice the generated PDF file is a true depiction of WYSIWYG rendering. The API performs high fidelity rendering thus it could be a perfect candidate to be integrated into your applications. Feel free to test the APIs prior to purchasing it and we would love to hear your concerns, questions or suggestions via our Free Support Forums.

Related Post:

Posted in Aspose.HTML Cloud Product Family | Leave a comment

Convert Presentation to PDF with Aspose.Slides Cloud API

This image has an empty alt attribute; its file name is aspose_slides_for_cloud-150x150.png

Presentations are helpful to reflect information in an organized manner. You can fill slides with a lot of content including text, shapes, charts, images and much more. Aspose.Slides Cloud API can be used to create, edit or manipulate presentation files. You do not need to install Microsoft PowerPoint or any other additional application. It gives you the privilege to work in any operating system and environment, no complicated configurations are involved. Moreover, all learning resources are well-managed which enable you to work efficiently. You can simply Sign Up and test all the features with Free Trial.

In this article, we will be considering a very important feature of Aspose.Slides Cloud API. Let us learn about the conversion of presentation to a PDF document. The API lets you convert a whole presentation to PDF with a single API call. You can also convert a specific slide to PDF document. First of all, we need to upload the source presentation to Cloud Storage. Aspose Cloud provides its own storage capacity. It also supports several 3rd party storages including Amazon S3, Azure, Dropbox, etc. You can configure any 3rd party cloud storage with Aspose Cloud. Following is a cURL example to upload a presentation from local storage to Cloud storage.

After uploading the file, you can convert a specific slide to a PDF document by specifying the slide number. For instance, to render the second slide, specify the number as in below code snippet:

Convert PPTX to PDF or PPT to PDF

In this example, we will assume that the source PPTX file is already uploaded to Cloud Storage with the example we have discussed above. Now use following cURL code to call the API and the whole presentation will be converted to PDF document.

Following are some screenshots of source and generated files:

Input PPTX file


Second Slide to PDF output

Whole Presentation to PDF file


You can notice how simple is it to convert the presentation to PDF while the rendering engine of API is very good. Moreover, we look forward to knowing your feedback, do reach out to us via Free Support Forum.

Related Article:

Reorder Multiple Slides in one API call using Aspose.Slides Cloud API

Posted in Aspose.Slides Cloud Product Family | Tagged , , , , | Leave a comment

Create, Edit, Merge or Convert a Word Document without MS Word

Aspose.Words Cloud API

Aspose Cloud APIs allow you to create and convert Word documents without needing conventional word processing applications. You can also edit, manipulate or merge Word documents including DOC, DOCX, and many other file formats. One does not need to process hundreds of documents manually, one by one. The process can simply be automated with Aspose Cloud APIs. Several SDKs are available which make Cloud APIs truly platform-independent.

Let us walk through the initial steps before we start working with Aspose.Words Cloud API. First of all, you would need to Create a new account or Sign Up with Facebook, Google, GitHub or Twitter account. Now you need to Create New Application and get its respective SID and Key, to proceed further.

In this article, we will be discussing about creating a new DOCX file, as well as converting a DOCX file to PDF. Below is the cURL code which creates a blank DOCX file into your storage.


Word document

Converting a Word document to PDF file

For converting a Word document to PDF, you need to go through the following steps:

  1. Set App SID and App Key and sign the URI
  2. Build JSON to post in the request body. Input documents including its path should be provided
  3. Send a PUT request to Aspose.Words Cloud API
  4. Download converted PDF document

Below is the code to convert a Word document to PDF file:


Word to PDF conversion

Likewise, many more word processing features are offered by Aspose.Words Cloud API. You may visit API documentation and API references for further information. Moreover, all SDKs are hosted at GitHub that you can integrate with your applications. We would love to hear your feedback and suggestions. Please feel free to write back to us at Support Forum.

Related Article(s)

Posted in Aspose.Words Cloud Product Family | Leave a comment

Convert Microsoft PowerPoint Presentation to image with Aspose.Slides Cloud API

presentation to image

Images are supported at almost all devices without requiring any complicated configurations. Converting Slides of PowerPoint presentation is a popular use case of Aspose APIs. Image conversion feature has been further enhanced in Aspose.Slides Cloud API. You can convert PPT, PPTX and many more supported file formats to JPEG, PNG, TIFF, SVG, BMP, and other image formats.

Sometimes the developers face problems where everything works fine in development environment but issues arise on production server. Aspose.Slides Cloud, being a REST API, gets you covered from such awkward situations. You would not need to install additional applications or resources. Simply create a free account and you are all set to try the API at any platform, using your app Key and SID.

Let me illustrate how simple is the presentation to image conversion with Aspose.Slides Cloud API.

Converting a presentation to image

You can convert a specific slide to an image, or the whole presentation to images which later returns a ZIP file containing generated images. Aspose.Slides Cloud API supports both use cases. Below is a cURL example to convert whole presentation (PPTX) to images (PNG) format and saving the output on Cloud storage.

curl  -v "" \
-X PUT \
-T test.pptx \
-H "Content-Type: application/octet-stream" \
-H "Authorization: Bearer  <jwt token>" \

For converting a specific slide to an image, below cURL example can be used:

​curl  -v "" \
-X PUT \
-T test.pptx \
-H "Content-Type: application/octet-stream" \
-H "Authorization: <jwt token>"\

This will convert the slide at a specific index to a PNG image. Moreover, you can also use this swagger link to call the API right inside a browser. Further information about the request and response is also documented along with all the details. Learn more

Moreover, we have written the Cloud SDKs in nine different programming languages so that you may call the APIs with minimal code: Aspose.Slides Cloud SDKs

In case you need any assistance or information, please reach out to us via Support Forum. You can also access Aspose Cloud SDKs and code samples for more exposure and knowledge of respective APIs.

Posted in Aspose.Slides Cloud Product Family | Tagged , , , , , | Leave a comment