New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aspose_imaging_cloud

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aspose_imaging_cloud

  • 23.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Gem GitHub license

Image Processing in Cloud via Ruby REST API

Aspose.Imaging Cloud is a true REST API that 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 contains Aspose.Imaging Cloud Ruby SDK source 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 at Aspose Cloud Dashboard (free registration in Aspose Cloud is required for this).

The solution is updated using code generator.

Image Processing Features

  • Fetch 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 Formats

BMP, GIF, JPEG, JPEG2000, PSD, TIFF, WEBP, PNG, WMF, EMF, SVG

Save Image As

PDF, DICOM

Read Image Formats

DJVU, DICOM, CDR, CMX, ODG, DNG, EPS

Enhancements in Version 20.12

  • Enhanced the EPS file 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.9

  • Resumed the support of Android SDK and updated reference to Aspose.Imaging and Aspose.PSD.

Enhancements in Version 20.10

  • Support for additional image formats in Object Detection.
  • Support to load and convert EPS files to PDF/A format.

Storage API support

Since 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 folders
  • Copy and move files and folders accross separate storages in scope of a single operation
  • Check if certain file, folder or storage exists

Detalied official documentation can be found at the following link.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 3.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build aspose-imaging-cloud.gemspec

Then either install the gem locally:

gem install ./aspose-imaging-cloud.gem

(for development, run gem install --dev ./aspose-imaging-cloud.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'aspose-imaging-cloud', '~> 23.5'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'aspose-imaging-cloud', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Convert PNG to JPG in Ruby

    # Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	api = AsposeImagingCloud::ImagingApi.new("MY_CLIENT_SECRET", "MY_CLIENT_ID")

	requestParam = AsposeImagingCloud::ConvertImageRequest.new("sample.png", "jpg", "tempFolder", "My_Storage_Name")
	result = api.convert_image(requestParam)

Documentation for API Endpoints

All URIs are relative to https://api.aspose.cloud/v3.0

ClassMethodHTTP requestDescription
AsposeImagingCloud::ImagingApiadd_search_imagePOST /imaging/ai/imageSearch/{searchContextId}/imageAdd image and images features to search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiappend_tiffPOST /imaging/tiff/{name}/appendTiffAppends existing TIFF image to another existing TIFF image (i.e. merges TIFF images).
AsposeImagingCloud::ImagingApicompare_imagesPOST /imaging/ai/imageSearch/{searchContextId}/compareCompare two images. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiconvert_tiff_to_faxGET /imaging/tiff/{name}/toFaxUpdate parameters of existing TIFF image accordingly to fax parameters.
AsposeImagingCloud::ImagingApicopy_filePUT /imaging/storage/file/copy/{srcPath}Copy file
AsposeImagingCloud::ImagingApicopy_folderPUT /imaging/storage/folder/copy/{srcPath}Copy folder
AsposeImagingCloud::ImagingApicreate_cropped_imagePOST /imaging/cropCrop an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_deskewed_imagePOST /imaging/deskewDeskew an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_fax_tiffPOST /imaging/tiff/toFaxUpdate parameters of TIFF image accordingly to fax parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_folderPUT /imaging/storage/folder/{path}Create the folder
AsposeImagingCloud::ImagingApicreate_grayscaled_imagePOST /imaging/grayscaleGrayscales an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_image_featuresPOST /imaging/ai/imageSearch/{searchContextId}/featuresExtract images features and add them to search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_image_framePOST /imaging/frames/{frameId}Get separate frame from existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_image_frame_rangePOST /imaging/frames/rangeGet frames range from existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_image_searchPOST /imaging/ai/imageSearch/createCreate new search context.
AsposeImagingCloud::ImagingApicreate_image_tagPOST /imaging/ai/imageSearch/{searchContextId}/addTagAdd tag and reference image to search context. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_bmpPOST /imaging/bmpUpdate parameters of BMP image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_emfPOST /imaging/emfProcess existing EMF imaging using given parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_gifPOST /imaging/gifUpdate parameters of GIF image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_jpegPOST /imaging/jpgUpdate parameters of JPEG image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_jpeg2000POST /imaging/jpg2000Update parameters of JPEG2000 image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_psdPOST /imaging/psdUpdate parameters of PSD image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_svgPOST /imaging/svgUpdate parameters of SVG image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_tiffPOST /imaging/tiffUpdate parameters of TIFF image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_web_pPOST /imaging/webpUpdate parameters of WEBP image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_modified_wmfPOST /imaging/wmfProcess existing WMF image using given parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_object_boundsPOST /imaging/ai/objectdetection/boundsDetects objects bounds. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_resized_imagePOST /imaging/resizeResize an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_rotate_flipped_imagePOST /imaging/rotateflipRotate and/or flip an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_updated_imagePOST /imaging/updateImagePerform scaling, cropping and flipping of an image in a single request. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApicreate_visual_object_boundsPOST /imaging/ai/objectdetection/visualboundsDetects objects bounds and draw them on the original image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream
AsposeImagingCloud::ImagingApicreate_web_site_image_featuresPOST /imaging/ai/imageSearch/{searchContextId}/features/webExtract images features from web page and add them to search context
AsposeImagingCloud::ImagingApicrop_imageGET /imaging/{name}/cropCrop an existing image.
AsposeImagingCloud::ImagingApidelete_fileDELETE /imaging/storage/file/{path}Delete file
AsposeImagingCloud::ImagingApidelete_folderDELETE /imaging/storage/folder/{path}Delete folder
AsposeImagingCloud::ImagingApidelete_image_featuresDELETE /imaging/ai/imageSearch/{searchContextId}/featuresDeletes image features from search context.
AsposeImagingCloud::ImagingApidelete_image_searchDELETE /imaging/ai/imageSearch/{searchContextId}Deletes the search context.
AsposeImagingCloud::ImagingApidelete_search_imageDELETE /imaging/ai/imageSearch/{searchContextId}/imageDelete image and images features from search context
AsposeImagingCloud::ImagingApideskew_imageGET /imaging/{name}/deskewDeskew an existing image.
AsposeImagingCloud::ImagingApidownload_fileGET /imaging/storage/file/{path}Download file
AsposeImagingCloud::ImagingApiextract_image_featuresGET /imaging/ai/imageSearch/{searchContextId}/image2featuresExtract features from image without adding to search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiextract_image_frame_propertiesPOST /imaging/frames/{frameId}/propertiesGet separate frame properties of existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiextract_image_propertiesPOST /imaging/propertiesGet properties of an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApifilter_effect_imagePUT /imaging/{name}/filterEffectApply filtering effects to an existing image.
AsposeImagingCloud::ImagingApifind_image_duplicatesGET /imaging/ai/imageSearch/{searchContextId}/findDuplicatesFind images duplicates.
AsposeImagingCloud::ImagingApifind_images_by_tagsPOST /imaging/ai/imageSearch/{searchContextId}/findByTagsFind images by tags. Tags JSON string is passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApifind_similar_imagesGET /imaging/ai/imageSearch/{searchContextId}/findSimilarFind similar images. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiget_disc_usageGET /imaging/storage/discGet disc usage
AsposeImagingCloud::ImagingApiget_file_versionsGET /imaging/storage/version/{path}Get file versions
AsposeImagingCloud::ImagingApiget_files_listGET /imaging/storage/folder/{path}Get all files and folders within a folder
AsposeImagingCloud::ImagingApiget_image_featuresGET /imaging/ai/imageSearch/{searchContextId}/featuresGets image features from search context.
AsposeImagingCloud::ImagingApiget_image_frameGET /imaging/{name}/frames/{frameId}Get separate frame from existing image.
AsposeImagingCloud::ImagingApiget_image_frame_propertiesGET /imaging/{name}/frames/{frameId}/propertiesGet separate frame properties of existing image.
AsposeImagingCloud::ImagingApiget_image_frame_rangeGET /imaging/{name}/frames/rangeGet frames range from existing image.
AsposeImagingCloud::ImagingApiget_image_propertiesGET /imaging/{name}/propertiesGet properties of an image.
AsposeImagingCloud::ImagingApiget_image_search_statusGET /imaging/ai/imageSearch/{searchContextId}/statusGets the search context status.
AsposeImagingCloud::ImagingApiget_object_boundsGET /imaging/ai/objectdetection/{name}/boundsDetects objects' bounds
AsposeImagingCloud::ImagingApiget_search_imageGET /imaging/ai/imageSearch/{searchContextId}/imageGet image from search context
AsposeImagingCloud::ImagingApiget_visual_object_boundsGET /imaging/ai/objectdetection/{name}/visualboundsDetects objects bounds and draw them on the original image
AsposeImagingCloud::ImagingApigrayscale_imageGET /imaging/{name}/grayscaleGrayscale an existing image.
AsposeImagingCloud::ImagingApimodify_bmpGET /imaging/{name}/bmpUpdate parameters of existing BMP image.
AsposeImagingCloud::ImagingApimodify_emfGET /imaging/{name}/emfProcess existing EMF imaging using given parameters.
AsposeImagingCloud::ImagingApimodify_gifGET /imaging/{name}/gifUpdate parameters of existing GIF image.
AsposeImagingCloud::ImagingApimodify_jpegGET /imaging/{name}/jpgUpdate parameters of existing JPEG image.
AsposeImagingCloud::ImagingApimodify_jpeg2000GET /imaging/{name}/jpg2000Update parameters of existing JPEG2000 image.
AsposeImagingCloud::ImagingApimodify_psdGET /imaging/{name}/psdUpdate parameters of existing PSD image.
AsposeImagingCloud::ImagingApimodify_svgGET /imaging/{name}/svgUpdate parameters of existing SVG image.
AsposeImagingCloud::ImagingApimodify_tiffGET /imaging/{name}/tiffUpdate parameters of existing TIFF image.
AsposeImagingCloud::ImagingApimodify_web_pGET /imaging/{name}/webpUpdate parameters of existing WEBP image.
AsposeImagingCloud::ImagingApimodify_wmfGET /imaging/{name}/wmfProcess existing WMF image using given parameters.
AsposeImagingCloud::ImagingApimove_filePUT /imaging/storage/file/move/{srcPath}Move file
AsposeImagingCloud::ImagingApimove_folderPUT /imaging/storage/folder/move/{srcPath}Move folder
AsposeImagingCloud::ImagingApiobject_existsGET /imaging/storage/exist/{path}Check if file or folder exists
AsposeImagingCloud::ImagingApiresize_imageGET /imaging/{name}/resizeResize an existing image.
AsposeImagingCloud::ImagingApirotate_flip_imageGET /imaging/{name}/rotateflipRotate and/or flip an existing image.
AsposeImagingCloud::ImagingApistorage_existsGET /imaging/storage/{storageName}/existCheck if storage exists
AsposeImagingCloud::ImagingApiupdate_imageGET /imaging/{name}/updateImagePerform scaling, cropping and flipping of an existing image in a single request.
AsposeImagingCloud::ImagingApiupdate_image_featuresPUT /imaging/ai/imageSearch/{searchContextId}/featuresUpdate images features in search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiupdate_search_imagePUT /imaging/ai/imageSearch/{searchContextId}/imageUpdate image and images features in search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
AsposeImagingCloud::ImagingApiupload_filePUT /imaging/storage/file/{path}Upload file

Documentation for Models

Documentation for Authorization

JWT

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A
.NETJavaPHPPythonRubyNode.jsAndroid
GitHubGitHubGitHubGitHubGitHubGitHubGitHub
NuGetMavenComposerPIPGEMNPMMaven

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

FAQs

Package last updated on 01 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc