Aspose.Imaging Cloud[![Aspose.Imaging Cloud][1] [![][2] What’s new in the latest release This is a major revamp release for Aspose.Imaging Cloud SDK for Node.js. It covers all the [Aspose.Imaging Cloud APIs][3]. This SDK provides a complete solution to work with cloud images in Node.js using powerful [Aspose.Imaging Cloud APIs][4], so you can manipulate & convert images in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Imaging Cloud SDK for Node.js is freely available on your favorite [GitHub][5] and [Codeplex][6] repositories.

Setup Aspose.Imaging Cloud SDK for Node.js is also available as a released package in the [npm (package manager for javascript)][7] . You can bypass [GitHub source code repository][8] and depend directly on the released package by installing from npm: Aspose.Imaging Cloud SDK for Node.js - npm installation

 npm i asposeimagingcloud 
```Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using [Aspose.Storage Cloud SDK for Node.js][9]. Quick SDK Tutorial

var fs = require(‘fs’); var assert = require(‘assert’); var StorageApi =require(“asposestoragecloud”) var ImagingApi = require(‘asposeimagingcloud’);

var AppSID = ‘XXX’; //sepcify App SID var AppKey = ‘XXX’; //sepcify App Key var config = {‘appSid’:AppSID,‘apiKey’:AppKey}; var data_path = ‘../data/’;

try { //Instantiate Aspose.Storage API SDK var storageApi = new StorageApi(config);

//Instantiate Aspose.Imaging API SDK var imagingApi = new ImagingApi(config);

//set input file name var filename = “aspose”; var name = filename + “.jpg”; var format = “png”; var storage = null; var folder= null;

//upload file to aspose cloud storage storageApi.PutCreate(name, null, null, file= data_path + name , function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //invoke Aspose.Imaging Cloud SDK API to convert image to other formats imagingApi.GetImageSaveAs(name, format, null, folder, storage, function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //download converted image from api response var outfilename = filename + ‘.’ + format; var writeStream = fs.createWriteStream(‘c:/temp/’ + outfilename); writeStream.write(responseMessage.body); }); });

}catch (e) { console.log(“exception in example”); console.log(e); }


*   [Working with Image Properties](http://www.aspose.com/docs/display/imagingcloud/Working+with+Image+Properties)
*   [Manipulating Images](http://www.aspose.com/docs/display/imagingcloud/Manipulating+Images)
*   [Working with TIFF Frames](http://www.aspose.com/docs/display/imagingcloud/Working+with+TIFF+Frames)

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




[1]: https://blog.aspose.com/wp-content/uploads/sites/2/2014/07/aspose_imaging_for_cloud_100px.png "Aspose.Imaging Cloud")](http://www.aspose.com/cloud/imaging-api.aspx)Aspose.Imaging Cloud's platform independent image manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, Node.js and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.Imaging Cloud lets you use a REST API to inspect, convert, and transform images in the cloud. It supports the most popular image formats such as PSD, PNG, GIF, BMP, TIFF, and JPEG, and conversion between them. Aspose.Imaging Cloud also provides a rich set of features for manipulating images on-the-fly with cloud based image transformations. You can resize, crop and/or rotate images various ways by simply creating a request that includes the correct transformation instructions. The most demanding imaging routines, for example TIFF concatenation and image conversion to fax compatible format, are available through efficient and reliable specialized resources. [Learn More](http://www.aspose.com/cloud/imaging-api.aspx
[2]: https://blog.aspose.com/wp-content/uploads/sites/2/2016/02/ImagingCloud-Format-Supported.png "Aspose.Imaging Cloud")](http://www.aspose.com/cloud/imaging-api.aspx
[3]: http://www.aspose.com/docs/display/imagingcloud/Home
[4]: http://www.aspose.com/cloud/imaging-api.aspx
[5]: https://github.com/aspose-imaging-cloud/
[6]: https://asposeimagingcloud.codeplex.com/SourceControl/latest#SDKs/Aspose.Imaging_Cloud_SDK_for_NodeJS/
[7]: https://www.npmjs.com/package/asposeimagingcloud/
[8]: https://github.com/aspose-imaging-cloud/
[9]: https://www.npmjs.com/package/asposestoragecloud
[10]: http://www.aspose.com/docs/display/imagingcloud/Home
[11]: http://www.aspose.com/docs/display/imagingcloud/Programmers+Guide
[12]: http://dashboard.aspose.cloud/