aspose_imaging_cloud 20.12 → 22.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d6816eba3a25ceba438ca3924b7c310ff12e5f2b2e47c8bc703d3d9257a1c52
4
- data.tar.gz: de86e95f334dc7a041df9ba867f51b5a2230f6e84a0c98320443180e7e13a951
3
+ metadata.gz: 65ce787ca56d4b26ff17a9f9551b64fd85838473e6820189b6dc3e0d8db24da1
4
+ data.tar.gz: 0f1011c213697fe8c753a5a88c65f249ea1adc98da37652e7a8dcb1ce9c5e11d
5
5
  SHA512:
6
- metadata.gz: 454f0f651f9d8b5b4c6988472d2541124a8a2241b5dccb70697fe8a3e41caa059104556b3c130561106c78890eb33b3e77ff04ac804ebaa45e58238f5a0379c0
7
- data.tar.gz: 8accf5c6a46a8e8f215a3b3b6841bc4f44f6ba358b8e608d2d685e0e41b28cf885f26928d8559b9b94deb49b8ed3b6676ecb3dcc1afa7ff8e9568208242d7287
6
+ metadata.gz: f2da5befee58d22d1500012cd4501008f8693e365f74e634068d6aff378afcebc967bec740f83cf2140be406b730d8ae9d9cd78c92fc9f96878decf3ef287cd1
7
+ data.tar.gz: bb847599787bede8c50c03bebcafb4310afb3fecf0027a45731145acfc1c69df823bce2edf7a33823a746692e467abecc6668f26ad7bc0992890f371fe4fd73b
data/README.md CHANGED
@@ -1,8 +1,56 @@
1
- # aspose-imaging-cloud
1
+ ![](https://img.shields.io/badge/api-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_imaging_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_words_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-imaging-cloud/aspose-imaging-cloud-ruby)](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-ruby/blob/master/LICENSE)
2
+ ## Image Processing in Cloud via Ruby REST API
3
+ [Aspose.Imaging Cloud](https://products.aspose.cloud/imaging) is a true [REST API](https://apireference.aspose.cloud/imaging/) 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.
2
4
 
3
- AsposeImagingCloud - the Ruby gem for the Aspose.Imaging Cloud API Reference
5
+ This repository contains [Aspose.Imaging Cloud Ruby SDK](https://products.aspose.cloud/imaging/ruby) 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.
4
6
 
5
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
+ To use this SDK, you will need Client ID and Client secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/#/apps) (free registration in Aspose Cloud is required for this).
8
+
9
+ The solution is updated using [code generator](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-codegen).
10
+ ## Image Processing Features
11
+
12
+ - Fetch or update properties of cloud-hosted images.
13
+ - Scale, flip, crop, and export an image with a single API call.
14
+ - Resize, crop, flip, convert, and export an image to other supported formats.
15
+ - Update image parameters of JPEG2000 & WEBP images.
16
+ - Access and multi-frame TIFF image and extract the desired frames from it.
17
+ - Rotate, flip, crop, resize, or fetch properties of the selected TIFF frame.
18
+ - Merge multiple TIFF images.
19
+
20
+ ## Read & Write Image Formats
21
+ BMP, GIF, JPEG, JPEG2000, PSD, TIFF, WEBP, PNG, WMF, EMF, SVG
22
+
23
+ ## Save Image As
24
+ PDF, DICOM
25
+
26
+ ## Read Image Formats
27
+ DJVU, DICOM, CDR, CMX, ODG, DNG, EPS
28
+
29
+ ## Enhancements in Version 20.12
30
+
31
+ - Enhanced the **EPS** file format inheritance to support rotate, resize, flip, etc. operations as vector images support.
32
+ - Improved image loading, conversion, and export features.
33
+ - Added the JavaScript SDK.
34
+
35
+ ## Enhancements in Version 20.9
36
+ - Resumed the support of **Android SDK** and updated reference to Aspose.Imaging and Aspose.PSD.
37
+
38
+
39
+ ## Enhancements in Version 20.10
40
+
41
+ - Support for additional image formats in Object Detection.
42
+ - Support to load and convert **EPS** files to **PDF/A** format.
43
+
44
+ ## Storage API support
45
+ 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!
46
+
47
+ It gives you an ability to:
48
+ * Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default)
49
+ * Create, copy, move and delete folders
50
+ * Copy and move files and folders accross separate storages in scope of a single operation
51
+ * Check if certain file, folder or storage exists
52
+
53
+ Detalied official documentation can be found at the [following link](https://docs.aspose.cloud/imaging/).
6
54
 
7
55
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
56
 
@@ -31,7 +79,7 @@ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.or
31
79
 
32
80
  Finally add this to the Gemfile:
33
81
 
34
- gem 'aspose-imaging-cloud', '~> 20.12'
82
+ gem 'aspose-imaging-cloud', '~> 22.4'
35
83
 
36
84
  ### Install from Git
37
85
 
@@ -47,38 +95,15 @@ Include the Ruby code directly using `-I` as follows:
47
95
  ruby -Ilib script.rb
48
96
  ```
49
97
 
50
- ## Getting Started
51
-
52
- Please follow the [installation](#installation) procedure and then run the following code:
53
- ```ruby
54
- # Load the gem
55
- require 'aspose-imaging-cloud'
56
-
57
- # Setup authorization
58
- AsposeImagingCloud.configure do |config|
59
- # Configure OAuth2 access token for authorization: JWT
60
- config.access_token = 'YOUR ACCESS TOKEN'
61
- end
62
-
63
- api_instance = AsposeImagingCloud::ImagingApi.new
64
98
 
65
- search_context_id = 'search_context_id_example' # String | Search context identifier.
99
+ ## Convert PNG to JPG in Ruby
66
100
 
67
- image_id = 'image_id_example' # String | Image identifier.
68
-
69
- opts = {
70
- image_data: File.new('/path/to/file.txt'), # File | Input image
71
- folder: 'folder_example', # String | Folder.
72
- storage: 'storage_example' # String | Storage
73
- }
74
-
75
- begin
76
- #Add image and images features to search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
77
- api_instance.add_search_image(search_context_id, image_id, opts)
78
- rescue AsposeImagingCloud::ApiError => e
79
- puts "Exception when calling ImagingApi->add_search_image: #{e}"
80
- end
101
+ ```ruby
102
+ # Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
103
+ api = AsposeImagingCloud::ImagingApi.new("MY_CLIENT_SECRET", "MY_CLIENT_ID")
81
104
 
105
+ requestParam = AsposeImagingCloud::ConvertImageRequest.new("sample.png", "jpg", "tempFolder", "My_Storage_Name")
106
+ result = api.convert_image(requestParam)
82
107
  ```
83
108
 
84
109
  ## Documentation for API Endpoints
@@ -231,6 +256,14 @@ Class | Method | HTTP request | Description
231
256
 
232
257
  - **Type**: OAuth
233
258
  - **Flow**: application
234
- - **Authorization URL**:
259
+ - **Authorization URL**:
235
260
  - **Scopes**: N/A
236
261
 
262
+ ## Aspose.Imaging Cloud SDKs in Popular Languages
263
+
264
+ | .NET | Java | PHP | Python | Ruby | Node.js |Android|
265
+ |---|---|---|---|---|---|--|
266
+ | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-dotnet) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-java) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-python) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-ruby) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-node) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-android) | [GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-swift)|[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-dart) |[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-go) |
267
+ | [NuGet](https://www.nuget.org/packages/Aspose.Imaging-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-imaging-cloud) | [Composer](https://packagist.org/packages/aspose/aspose-imaging-cloud) | [PIP](https://pypi.org/project/aspose.imaging-cloud/) | [GEM](https://rubygems.org/gems/aspose_imaging_cloud) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-imaging-cloud) |[Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-imaging-cloud)|
268
+
269
+ [Product Page](https://products.aspose.cloud/imaging/ruby) | [Documentation](https://docs.aspose.cloud/display/imagingcloud/Home) | [API Reference](https://apireference.aspose.cloud/imaging/) | [Code Samples](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-ruby) | [Blog](https://blog.aspose.cloud/category/imaging/) | [Free Support](https://forum.aspose.cloud/c/imaging) | [Free Trial](https://dashboard.aspose.cloud/#/apps)
@@ -54,7 +54,7 @@ module AsposeImagingCloud
54
54
  @config = Configuration.new(client_secret, client_id, base_url, api_version, debug)
55
55
  @default_headers = {
56
56
  'x-aspose-client' => 'ruby sdk',
57
- 'x-aspose-version' => '20.12'
57
+ 'x-aspose-version' => '22.4'
58
58
  }
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_imaging_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '20.12'
4
+ version: '22.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Zubov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-29 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
 
@@ -178,7 +178,7 @@ licenses:
178
178
  - MIT
179
179
  metadata:
180
180
  source_code_uri: https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-ruby
181
- post_install_message:
181
+ post_install_message:
182
182
  rdoc_options: []
183
183
  require_paths:
184
184
  - lib
@@ -193,8 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubygems_version: 3.0.3
197
- signing_key:
196
+ rubygems_version: 3.1.6
197
+ signing_key:
198
198
  specification_version: 4
199
199
  summary: Aspose.Imaging Cloud Ruby SDK
200
200
  test_files: []