Resize, Crop, Rotate Images in the Cloud

PHP Cloud SDK for your PHP-based image processing Apps that resizes, flips, searches, crops, rotates, converts & exports images.

  Start Free Trial
Aspose.Imaging Cloud SDK for PHP

Aspose.Imaging Cloud SDK for PHP

 
 

Aspose.Imaging Cloud SDK for PHP is developed on top of our Cloud REST API providing the features to manipulate images in the cloud. It provides the most demanding imaging routines such as Re-sizing, Cropping, Rotation, and Conversion, Image Inspection, & Transformation. It supports the most common raster file formats including PSD, PNG, JPG, BMP, TIFF, and GIF. Furthermore, the Aspose.Imaging's AI engine enables the developers to perform Reverse Image Search from within their own applications.

It is easy to get started with Aspose.Imaging Cloud SDK for PHP as there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & the Key, you are ready to give the Aspose.Imaging Cloud SDK for PHP a try - on any platform.

 

Advanced Image Processing Features

 

 

Convert images to other supported formats

 

Crop Images

 

Rotate or Flip Images

 

Resize Images

 

Manipulate format specific or generic image properties

 

Search duplicate or similar images

 

Manipulate images with or without storage

 

Convert images to fax compatible format

 

Compare whole image or a portion

 

Search images by Tag

 

Select several images for better comparison results

 

Platform Independent

 

TIFF Concatenation

 

Integrates with other cloud services

 

Extract Frame from Multi-Frame TIFF Image

Comprehensive Solution for Image Manipulation

Aspose.Imaging Cloud SDK for PHP is a complete Cloud based solution offering the capabilities to perform the most demanding imaging routines such as Resize, Crop, Rotate, Convert, Merge TIFF images and perform Conversion. It supports the most common raster file formats including PNG, JPG, BMP, TIFF, and GIF. You can also perform Conversion to and from PSD format and all these operations are performed in Cloud and nothing is required to be installed.

Security and Authentication

The Aspose.Imaging for Cloud SDKs are secured and requires authentication. There are two ways to authenticate Aspose for Cloud SDKs:

  • OAuth 2.0
  • URL Signing

Please check Authenticating API Requests article for more detail

Reverse Image Search

Aspose.Imaging Cloud SDK for PHP is capable of performing Image search operations powered by Aspose.Imaging's Artificial Intelligence engine. It is capable of performing reverse image search based on the degree of similarity and the minimum threshold of similarity. These features can be used to develop complex applications that can search duplicate or similar images in order to sort photo libraries or to filter-out inappropriate contents.

Reverse image search capabilities are configurable, providing you the ability to define your own minimal threshold and select the comparison algorithm for the search. It is also possible to specify a portion of an image for the comparison and select several images to compare against or simply search images by the tag. The SDK currently supports following operations related to this feature:

  • Add Image to Search Context
  • Create new Search Context
  • Get Image from Search Context
  • Get Search Context Status
  • Update Image in Search Context
  • Delete Image from Search Context
  • Delete Search Context
  • Extract Images Features and Add Them to Search Context
  • Extract Features from Image without Adding to Search Context

Extensive support for TIFF Format

Tagged Image File Format(TIFF) is a standard in the printing and publishing industry. Also, the TIFF files are significantly larger than their JPEG counterparts, and can be either uncompressed or compressed using lossless compression. Due to these reasons, it gets slightly difficult to manipulate the TIFF files. However Aspose.Imaging Cloud SDK for PHP provides an extensive support for TIFF format. You can perform a wide variety of operations on TIFF images including Extraction of TIFF frame from Multi-Frame TIFF image, Resizing a TIFF frame, Getting TIFF frame properties, Cropping a TIFF frame, Rotate / Flip a TIFF frame and a unique feature to Manipulate a Frame and Save the Modified Frame along with Unmodified Frames.

Resizing a TIFF Frame - PHP


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

Support and Learning Resources