Vectorize Local Files – Aspose.HTML Cloud
This article explains how to vectorize local image files into SVG using Aspose.HTML Cloud API in synchronous and asynchronous modes. Supported raster image formats include PNG, JPEG, JPG, BMP, GIF, and WEBP.
Before starting, ensure you have an authorization token. Refer to the Authorization Guide for details.
Local File Vectorization Process
Aspose.HTML Cloud offers two methods for vectorizing local files:
- Synchronous Vectorization: Suitable for smaller files; the vectorized SVG is returned immediately.
- Asynchronous Vectorization: Ideal for larger files; vectorization runs in the background, allowing you to download the SVG once complete.
Step 1: Upload Local Image File to Cloud Storage
Upload your local raster image to Aspose Cloud storage before vectorization.
Step 2: Vectorize Uploaded File
Use the uploaded file’s cloud path as InputPath
in synchronous and asynchronous vectorization methods described in the
Vectorization Guide.