Package: aspose-imaging-cloud
Image Processing in Cloud via Python REST APIAspose.Imaging Cloudis a trueREST APIthat enables you to perform a wide range of image processing operations including creation, manipulation and conversion in the cloud, with zero initial costs. Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process images in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights.This repository containsAspose.Imaging Cloud Python SDKsource code. This SDK allows you to work with Aspose.Imaging Cloud REST APIs in your Python applications quickly and easily, with zero initial cost.To use this SDK, you will need Client ID and Client secret which can be looked up atAspose Cloud Dashboard(free registration in Aspose Cloud is required for this).The solution is updated usingcode generator.Image Processing FeaturesFetch or update properties of cloud-hosted images.Scale, flip, crop, and export an image with a single API call.Resize, crop, flip, convert, and export an image to other supported formats.Update image parameters of JPEG2000 & WEBP images.Access and multi-frame TIFF image and extract the desired frames from it.Rotate, flip, crop, resize, or fetch properties of the selected TIFF frame.Merge multiple TIFF images.Read & Write Image FormatsBMP, GIF, JPEG, JPEG2000, PSD, TIFF, WEBP, PNG, WMF, EMF, SVG, TGA, APNGSave Image AsPDF, DICOMRead Image FormatsDJVU, DICOM, CDR, CMX, ODG, DNG, EPS, EMZ, WMZ, SVGZEnhancements in Version 20.12Enhanced theEPSfile format inheritance to support rotate, resize, flip, etc. operations as vector images support.Improved image loading, conversion, and export features.Added the JavaScript SDK.Enhancements in Version 20.9Resumed the support ofAndroid SDKand updated reference to Aspose.Imaging and Aspose.PSD.Enhancements in Version 20.10Support for additional image formats in Object Detection.Support to load and convertEPSfiles toPDF/Aformat.Storage API supportSince version 19.4, SDK includes support of storage operations for better user experience and unification, so now there's no need to use 2 different SDKs!It gives you an ability to:Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default)Create, copy, move and delete foldersCopy and move files and folders accross separate storages in scope of a single operationCheck if certain file, folder or storage existsDetalied official documentation can be found at thefollowing link.Getting StartedSign Up. Before you begin, you need to sign up for an account on ourDashboardand retrieve yourcredentials.Minimum requirements. This SDK requiresPython 2.7 or later.Install Aspose.Imaging Cloud Python SDK.Please, add the followingPyPi packageto your requirements.txt.aspose-imaging-cloud>=22.4Or install it using command line.pip install aspose-imaging-cloudImport the dependencies to your code as follows.importaspose-imaging-cloudUsing the SDK. The best way to become familiar with how to use the SDK is to read theDeveloper Guide. TheGetting Started Guidewill help you to become familiar with the common concepts.Quick ExamplesPlease, look atExamplesdocument for basic usage or use theExamplesfolder for more sophisticated scenarios.Convert PNG to JPG in Python# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).imaging_api=ImagingApi("MY_CLIENT_SECRET","MY_CLIENT_ID")request=ConvertImageRequest("sample.png","jpg","tempFolder","My_Storage_Name")response=imaging_api.convert_image(request)Aspose Cloud-hosted service VS on-premise deployment (experimental feature)Starting from v19.7, you can choose either to use Aspose Cloud-hosted image processing service (the standard way) or the Docker image from Docker Hub deployed on-premise to serve the requests.
The details about key differences and deployment process will be described on the dedicated Docker Hub page as soon as it's released.To succeed with your on-premise service usage by the SDK, you need to:Use the new API class constructor with base URL required parameter, API version and debug mode optional parameters.ImagingApi(base_url='yourServiceUrl')SetstorageorstorageNameparameters for each request where they're present (mandatory!).ContentYou may check our fullAPI endpoints list and models availablein the SDK.DependenciesPython 2.7 or laterLicensingAll Aspose.Imaging Cloud SDKs, helper scripts and templates are licensed underMIT License.Aspose.Imaging Cloud SDKs in Popular Languages.NETJavaPHPPythonRubyNode.jsAndroidGitHubGitHubGitHubGitHubGitHubGitHubGitHubNuGetMavenComposerPIPGEMNPMMavenProduct Page|Documentation|API Reference|Code Samples|Blog|Free Support|Free Trial