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 +4 -4
- data/README.md +67 -34
- data/lib/aspose-imaging-cloud/api_client.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ce787ca56d4b26ff17a9f9551b64fd85838473e6820189b6dc3e0d8db24da1
|
4
|
+
data.tar.gz: 0f1011c213697fe8c753a5a88c65f249ea1adc98da37652e7a8dcb1ce9c5e11d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2da5befee58d22d1500012cd4501008f8693e365f74e634068d6aff378afcebc967bec740f83cf2140be406b730d8ae9d9cd78c92fc9f96878decf3ef287cd1
|
7
|
+
data.tar.gz: bb847599787bede8c50c03bebcafb4310afb3fecf0027a45731145acfc1c69df823bce2edf7a33823a746692e467abecc6668f26ad7bc0992890f371fe4fd73b
|
data/README.md
CHANGED
@@ -1,8 +1,56 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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', '~>
|
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
|
-
|
99
|
+
## Convert PNG to JPG in Ruby
|
66
100
|
|
67
|
-
|
68
|
-
|
69
|
-
|
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)
|
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: '
|
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:
|
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.
|
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: []
|