ImageGear's REST APIs can be used to perform some common operations on images and documents without explicitly including ImageGear in your application. To do so, you will need an Accusoft Cloud account. Free trial accounts start off with 300 free transactions allowing you to start uploading files and editing images right away.
Processing images and files using ImageGear's REST APIs is quite simple and requires just four steps:
- Upload the file you would like to process to Accusoft's cloud.
- Make a POST request to
https://api.accusoft.com/imageGear/api/v1/{process}
to start the process. This request will provide the ID of the uploaded file, the operations to be performed, and any other parameters you wish to specify. - Make a GET requests to check the status of the process. Once the process has been completed, the
"state"
field returned in the response body will be"complete"
or"error"
. Provided the process completed successfully, the response will contain the fileId of the output image created by the operations in your process. - Download the resulting output file from Accusoft's cloud.
The following are the REST APIs currently available:
Our REST API samples on GitHub illustrate how to upload a workfile to Accusoft Cloud, process it and download the resulting image: