Manipulate images anywhere, any language and any platform

Forget about platform, just send a REST API call to Manipulate or Convert images in any type of application.

  Start Free Trial
Aspose.Imaging for Cloud

Aspose.Imaging for Cloud

 
 

Aspose.Imaging for Cloud is a REST API to inspect, convert and transform images in the cloud. It supports converting between the most popular image file formats such as PSD, PNG, GIF, BMP, TIFF and JPEG.

 

Advanced Cloud Images Transformation API Features

 

 

Convert images to other supported formats

 

Crop, rotate, flip & resize images

 

Retrieve & update format specific or generic image properties

 

Convert images to fax compatible format

 

Append TIFF frames to another TIFF image

 

Extract TIFF frames from a multi-page TIFF image

 

Crop, rotate or flip and resize TIFF frames

Get Started with Document Processing REST API

It is easy to get started with Aspose.Imaging for Cloud and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Imaging for Cloud REST API a try with any language - on any platform. Aspose.Imaging for Cloud provides the capabilities to quickly and reliably convert images to and from a variety of formats including PSD, TIFF, GIF, BMP, JPEG and PNG.

Support for TIFF Image Format

Aspose.Imaging for Cloud API provides extensive support for TIFF (Tagged Image File Format), an adaptable file format for handling images and data within a single file. You can get the feature to perform a wide variety of operations on TIFF images, such as conversion to other formats and image manipulation operations. It can append TIFF frames to another TIFF image or Extract individual TIFF frames for further processing such as resize, crop and Rotation on individual TIFF frames.

Extract frame from multi-frame TIFF image - C#


ImagingApi imagingApi = new ImagingApi(Common.APP_KEY, Common.APP_SID, Common.BASEPATH);
 // Upload source file to aspose cloud storage
storageApi.PutCreate("sample-multi.tif", "", "", System.IO.File.ReadAllBytes(Common.GetDataDir() + "sample-multi.tif"));
// Invoke API to extract frame from multi frame tiff image
ResponseMessage apiResponse = imagingApi.GetImageFrame("sample-multi.tif", 1, 300, 300, 100, 100, 200, 200, "", false, "", "", "");
System.IO.File.WriteAllBytes(Common.GetDataDir() + "sample-multi.tif", apiResponse.ResponseStream);

Extract frame from multi-frame TIFF image - Java


Utils.getStorageSdk().PutCreate("Sample1.tiff",null,Utils.STORAGE,"Sample1.tiff".toFile());
com.aspose.imaging.model.ResponseMessage apiResponse = Utils.getImagingSdk().GetImageFrame("Sample1.tiff",1, 300,300,100,100,200,200,"",false,"",Utils.FOLDER,Utils.STORAGE);
Files.copy(apiResponse.getInputStream(), outputFile, StandardCopyOption.REPLACE_EXISTING);

Extract frame from multi-frame TIFF image - Java


Utils.getStorageSdk().PutCreate("Sample1.tiff",null,Utils.STORAGE,"Sample1.tiff".toFile());
com.aspose.imaging.model.ResponseMessage apiResponse = Utils.getImagingSdk().GetImageFrame("Sample1.tiff",1, 300,300,100,100,200,200,"",false,"",Utils.FOLDER,Utils.STORAGE);
Files.copy(apiResponse.getInputStream(), outputFile, StandardCopyOption.REPLACE_EXISTING);

Extract frame from multi-frame TIFF image - Objective-C


ASPImagingApi *imagingApi = [[ASPImagingApi alloc] init];
[Utils uploadFile:"sample-multi.tif"];
[self.imagingApi getImageFrameWithCompletionBlock:fileName
    frameId:[NSNumber numberWithInt:1]
    newWidth:nil
    newHeight:nil
    x:nil
    y:nil
    rectWidth:nil
    rectHeight:nil
    rotateFlipMethod:nil
    saveOtherFrames:nil
    outPath:@"frame.tiff"
    folder:nil
    storage:nil
    completionHandler:^(NSURL *output, NSError *error) {
    NSLog(@"%@", output);
    }];

Extract frame from multi-frame TIFF image - PHP


$this->imaging = new ImagingApi();
Utils::uploadFile('sample-multi.tif');
$result = $this->imaging->GetImageFrame($name, $frameId = 1, $newWidth = "", $newHeight = "", $x = "", $y = "", $rectWidth = "", $rectHeight = "", $rotateFlipMethod = "", $saveOtherFrames = "", $outPath = "frame.tiff", $storage = "", $folder = "");
    $fh = fopen(realpath(__DIR__ . '/../../..') . '/Data/Output/frame.tif', 'w');
    fwrite($fh, $result);
    fclose($fh);

Extract frame from multi-frame TIFF image - Ruby


@imaging_api = ImagingApi.new
@storage_api = StorageApi.new 
response = @storage_api.put_create("sample-multi.tif", File.open("../../../data/" << "sample-multi.tif","r") { |io| io.read } )
response = @imaging_api.get_image_frame("sample-multi.tif", 1)

Extract frame from multi-frame TIFF image - Python


#Instantiate Aspose Imaging API SDK
api_client = asposeimagingcloud.ApiClient.ApiClient(apiKey, appSid, True)
imagingApi = ImagingApi(api_client);
#upload file to aspose cloud storage
response = storageApi.PutCreate("sample-multi.tif", data_folder + "sample-multi.tif")
#invoke Aspose.Imaging Cloud SDK API to extract only one frame from a Tiff image
response = imagingApi.GetImageFrame("sample-multi.tif", 1)

Extract frame from multi-frame TIFF image - Android


ImagingApi imagingApi = new ImagingApi(Configuration.apiKey, Configuration.appSID, true);
storageApi.PutCreate("Sample1.tiff",null,Utils.STORAGE,"Sample1.tiff");
com.aspose.imaging.model.ResponseMessage apiResponse =imagingApi.GetImageFrame("Sample1.tiff", 1, 300,300,100,100,200, 200, "",false, "", Utils.FOLDER,Utils.STORAGE);
Utils.copyInputStreamToFile(apiResponse.getInputStream(),outputFile);

Conversion to Fax Friendly Image Format

Another worth mentioning feature that Aspose.Imaging for Cloud API provides is the image conversion to fax compatible format. This feature can be used to archive document images because Aspose.Imaging for Cloud achieves the conversion by compressing the supplied image with CCITT4 compression with color depth of 1 bit.

Manipulate Images on the Cloud

Aspose.Imaging for Cloud provides all basic imaging requirements by providing demanding yet flexible features such as resize, crop, rotate or flip. These operations can be performed on any supported image type while keeping the original data type intact. Developers can choose to change the data type of the output image by specifying one additional parameter in the request.

Retrieve Image Properties

By invoking the properties operation – Cloud imaging API retrieves generic image properties such as dimension and resolution as well as format specific parameters such as color depth, compression, EXIF and JFIF information in JSON or XML format.

Manipulate & Convert Images With Or Without Cloud Storage

The majority of features provided by Aspose.Imaging for Cloud support both the POST & GET HTTP methods, providing the ability to manipulate and convert images with or without requiring cloud storage.

Language, Platform & Storage Independence

Aspose.Imaging for Cloud can be used with any language or platform which supports HTTP requests and responses. You can also use Aspose.Imaging for Cloud with many third party storage including Amazon S3, Google Cloud, Google Drive and DropBox.

 

Support and Learning Resources