Aspose.Imaging Cloud

Aspose.Imaging Cloud logo 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. You can perform these operations without needing to know what’s going on under the hood so that you can focus on the core business goals.

Adding Aspose.Imaging Cloud to your project

  1. Add a pod entry for AsposeImagingCloud to your Podfile
    pod 'AsposeImagingCloud'
    
  1. Install the pod(s) by running
    pod install
    
  1. Include AsposeImagingCloud wherever you need it with
    #import "ASPImagingApi.h"
    

• Source filesAlternatively you can directly add source files to your project.

  1. Download the latest code version from GitHub or CodePlex repository.
  2. Open your project in Xcode, then drag and drop imaging folder onto your project (use the “Product Navigator view”). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
  3. Include AsposeImagingCloud wherever you need it with
    #import "ASPImagingApi.h"
    

UsageAn example is given below to give you a quick preview of how APIs of this SDK can be called.

/*Update parameters of JPG image.*/

#import "ASPApiClient.h"
#import "ASPImagingApi.h"

//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPImagingApi *imagingApi = [[ASPImagingApi alloc] init];

NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"aspose" withExtension:@"jpg"];
[imagingApi postImageJpgWithCompletionBlock:pathToFile
            quality:[NSNumber numberWithInt:100]
            compressionType:@"progressive"
            fromScratch:nil
            outPath:nil
            completionHandler:^(NSURL *output, NSError *error) {
                BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                XCTAssertTrue(isFileExist, @"Failed to update parameters of jpg image.");
}]; 

DependencyThis SDK has dependency on following libraries.

  1. AFNetworking
  2. JSONModel
  3. ISO8601
  4. AsposeStorageCloud

Aspose.Imaging Cloud SDK ExamplesAspose.Imaging Cloud SDK for Objective C Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.Imaging Cloud REST API. Please see the SDK examples of following categories.

Unit TestsTo help you get started we also provided unit test coverage to Aspose.Imaging APIs.

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