aspose_imaging_cloud 19.12 → 20.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -12
- data/lib/aspose-imaging-cloud.rb +75 -59
- data/lib/aspose-imaging-cloud/api/imaging_api.rb +93 -5
- data/lib/aspose-imaging-cloud/api_client.rb +2 -2
- data/lib/aspose-imaging-cloud/api_error.rb +2 -2
- data/lib/aspose-imaging-cloud/configuration.rb +1 -1
- data/lib/aspose-imaging-cloud/models/big_rectangular_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/bilateral_smoothing_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/bmp_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/convolution_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/deconvolution_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/detected_object.rb +228 -0
- data/lib/aspose-imaging-cloud/models/detected_object_list.rb +204 -0
- data/lib/aspose-imaging-cloud/models/dicom_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/disc_usage.rb +1 -1
- data/lib/aspose-imaging-cloud/models/djvu_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/dng_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/error.rb +1 -1
- data/lib/aspose-imaging-cloud/models/error_details.rb +1 -1
- data/lib/aspose-imaging-cloud/models/exif_data.rb +1 -1
- data/lib/aspose-imaging-cloud/models/file_version.rb +1 -1
- data/lib/aspose-imaging-cloud/models/file_versions.rb +1 -1
- data/lib/aspose-imaging-cloud/models/files_list.rb +1 -1
- data/lib/aspose-imaging-cloud/models/files_upload_result.rb +1 -1
- data/lib/aspose-imaging-cloud/models/filter_properties_base.rb +1 -1
- data/lib/aspose-imaging-cloud/models/gauss_wiener_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/gaussian_blur_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/gif_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/image_duplicates.rb +1 -1
- data/lib/aspose-imaging-cloud/models/image_duplicates_set.rb +1 -1
- data/lib/aspose-imaging-cloud/models/image_features.rb +1 -1
- data/lib/aspose-imaging-cloud/models/imaging_response.rb +1 -1
- data/lib/aspose-imaging-cloud/models/jfif_data.rb +1 -1
- data/lib/aspose-imaging-cloud/models/jpeg2000_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/jpeg_exif_data.rb +1 -1
- data/lib/aspose-imaging-cloud/models/jpeg_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/median_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/motion_wiener_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/object_exist.rb +1 -1
- data/lib/aspose-imaging-cloud/models/odg_metadata.rb +1 -1
- data/lib/aspose-imaging-cloud/models/odg_page.rb +1 -1
- data/lib/aspose-imaging-cloud/models/odg_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/png_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/psd_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/rectangle.rb +247 -0
- data/lib/aspose-imaging-cloud/models/requests/add_search_image_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/append_tiff_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/compare_images_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/convert_tiff_to_fax_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/copy_file_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/copy_folder_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_cropped_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/create_deskewed_image_request.rb +92 -0
- data/lib/aspose-imaging-cloud/models/requests/create_fax_tiff_request.rb +81 -0
- data/lib/aspose-imaging-cloud/models/requests/create_folder_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_grayscaled_image_request.rb +81 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_image_frame_range_request.rb +121 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_frame_request.rb +2 -2
- data/lib/aspose-imaging-cloud/models/requests/create_image_search_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_image_tag_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_bmp_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_emf_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_gif_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_jpeg2000_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_jpeg_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_psd_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_svg_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_tiff_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_web_p_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_modified_wmf_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_object_bounds_request.rb +93 -0
- data/lib/aspose-imaging-cloud/models/requests/create_resized_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/create_rotate_flipped_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/create_saved_image_as_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/create_updated_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/create_visual_object_bounds_request.rb +96 -0
- data/lib/aspose-imaging-cloud/models/requests/create_web_site_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/crop_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/delete_file_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/delete_folder_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/delete_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/delete_image_search_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/delete_search_image_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/deskew_image_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/download_file_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/extract_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/extract_image_frame_properties_request.rb +2 -2
- data/lib/aspose-imaging-cloud/models/requests/extract_image_properties_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/filter_effect_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/find_image_duplicates_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/find_images_by_tags_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/find_similar_images_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_disc_usage_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_file_versions_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_files_list_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_image_frame_properties_request.rb +2 -2
- data/lib/aspose-imaging-cloud/models/requests/get_image_frame_range_request.rb +120 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_frame_request.rb +2 -2
- data/lib/aspose-imaging-cloud/models/requests/get_image_properties_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_image_search_status_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_object_bounds_request.rb +92 -0
- data/lib/aspose-imaging-cloud/models/requests/get_search_image_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/get_visual_object_bounds_request.rb +95 -0
- data/lib/aspose-imaging-cloud/models/requests/grayscale_image_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/http_request.rb +2 -1
- data/lib/aspose-imaging-cloud/models/requests/imaging_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_bmp_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_emf_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_gif_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_jpeg2000_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_jpeg_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_psd_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_svg_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_tiff_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_web_p_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/modify_wmf_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/move_file_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/move_folder_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/object_bounds_request.rb +93 -0
- data/lib/aspose-imaging-cloud/models/requests/object_exists_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/resize_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/rotate_flip_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/save_image_as_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/storage_exists_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/update_image_features_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/update_image_request.rb +5 -10
- data/lib/aspose-imaging-cloud/models/requests/update_search_image_request.rb +1 -1
- data/lib/aspose-imaging-cloud/models/requests/upload_file_request.rb +1 -2
- data/lib/aspose-imaging-cloud/models/requests/visual_object_bounds_request.rb +94 -0
- data/lib/aspose-imaging-cloud/models/search_context_status.rb +1 -1
- data/lib/aspose-imaging-cloud/models/search_result.rb +1 -1
- data/lib/aspose-imaging-cloud/models/search_results_set.rb +1 -1
- data/lib/aspose-imaging-cloud/models/sharpen_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/small_rectangular_filter_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/storage_exist.rb +1 -1
- data/lib/aspose-imaging-cloud/models/storage_file.rb +1 -1
- data/lib/aspose-imaging-cloud/models/svg_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/tiff_frame.rb +1 -1
- data/lib/aspose-imaging-cloud/models/tiff_options.rb +1 -1
- data/lib/aspose-imaging-cloud/models/tiff_properties.rb +1 -1
- data/lib/aspose-imaging-cloud/models/web_p_properties.rb +1 -1
- metadata +23 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2857535b2bf1f5bd09cb9635e1d8fcf407854d9288d1cc9a227f7f9928b3fae
|
4
|
+
data.tar.gz: 751c33587e825c4ebb37f24cfe2f5e485e3205659bf62b015c50baa9303e729e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33afd3fdfaa74ff3ad5108128b22e86ef6442ddb5cccc8183cd80adf1aa3057708206c5641be8f9a71c43c772169c802b0e36131d8934ce9cee67d8113a9eefb
|
7
|
+
data.tar.gz: 73f075fccc69946452f4aef137956e9bc4be8624124596324371ef1d7988aa217d3bce7953a7e77a14806de2a2e33ca6e9289ac5514e87ef55cd01f5c723c7ec
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# aspose-imaging-cloud
|
2
2
|
|
3
3
|
AsposeImagingCloud - the Ruby gem for the Aspose.Imaging Cloud API Reference
|
4
4
|
|
@@ -17,27 +17,27 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
|
|
17
17
|
To build the Ruby code into a gem:
|
18
18
|
|
19
19
|
```shell
|
20
|
-
gem build
|
20
|
+
gem build aspose-imaging-cloud.gemspec
|
21
21
|
```
|
22
22
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./
|
26
|
+
gem install ./aspose-imaging-cloud.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./
|
28
|
+
(for development, run `gem install --dev ./aspose-imaging-cloud.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem '
|
34
|
+
gem 'aspose-imaging-cloud', '~> 20.5'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
38
38
|
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:
|
39
39
|
|
40
|
-
gem '
|
40
|
+
gem 'aspose-imaging-cloud', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
41
|
|
42
42
|
### Include the Ruby code directly
|
43
43
|
|
@@ -52,7 +52,7 @@ ruby -Ilib script.rb
|
|
52
52
|
Please follow the [installation](#installation) procedure and then run the following code:
|
53
53
|
```ruby
|
54
54
|
# Load the gem
|
55
|
-
require '
|
55
|
+
require 'aspose-imaging-cloud'
|
56
56
|
|
57
57
|
# Setup authorization
|
58
58
|
AsposeImagingCloud.configure do |config|
|
@@ -83,7 +83,7 @@ end
|
|
83
83
|
|
84
84
|
## Documentation for API Endpoints
|
85
85
|
|
86
|
-
All URIs are relative to *https://api
|
86
|
+
All URIs are relative to *https://api.aspose.cloud/v3.0*
|
87
87
|
|
88
88
|
Class | Method | HTTP request | Description
|
89
89
|
------------ | ------------- | ------------- | -------------
|
@@ -94,9 +94,13 @@ Class | Method | HTTP request | Description
|
|
94
94
|
*AsposeImagingCloud::ImagingApi* | [**copy_file**](docs/ImagingApi.md#copy_file) | **PUT** /imaging/storage/file/copy/{srcPath} | Copy file
|
95
95
|
*AsposeImagingCloud::ImagingApi* | [**copy_folder**](docs/ImagingApi.md#copy_folder) | **PUT** /imaging/storage/folder/copy/{srcPath} | Copy folder
|
96
96
|
*AsposeImagingCloud::ImagingApi* | [**create_cropped_image**](docs/ImagingApi.md#create_cropped_image) | **POST** /imaging/crop | Crop an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
97
|
+
*AsposeImagingCloud::ImagingApi* | [**create_deskewed_image**](docs/ImagingApi.md#create_deskewed_image) | **POST** /imaging/deskew | Deskew an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
98
|
+
*AsposeImagingCloud::ImagingApi* | [**create_fax_tiff**](docs/ImagingApi.md#create_fax_tiff) | **POST** /imaging/tiff/toFax | Update parameters of TIFF image accordingly to fax parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
97
99
|
*AsposeImagingCloud::ImagingApi* | [**create_folder**](docs/ImagingApi.md#create_folder) | **PUT** /imaging/storage/folder/{path} | Create the folder
|
100
|
+
*AsposeImagingCloud::ImagingApi* | [**create_grayscaled_image**](docs/ImagingApi.md#create_grayscaled_image) | **POST** /imaging/grayscale | Grayscales an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
98
101
|
*AsposeImagingCloud::ImagingApi* | [**create_image_features**](docs/ImagingApi.md#create_image_features) | **POST** /imaging/ai/imageSearch/{searchContextId}/features | Extract 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.
|
99
|
-
*AsposeImagingCloud::ImagingApi* | [**create_image_frame**](docs/ImagingApi.md#create_image_frame) | **POST** /imaging/frames/{frameId} | Get separate frame from existing
|
102
|
+
*AsposeImagingCloud::ImagingApi* | [**create_image_frame**](docs/ImagingApi.md#create_image_frame) | **POST** /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.
|
103
|
+
*AsposeImagingCloud::ImagingApi* | [**create_image_frame_range**](docs/ImagingApi.md#create_image_frame_range) | **POST** /imaging/frames/range | Get separate frame from existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
100
104
|
*AsposeImagingCloud::ImagingApi* | [**create_image_search**](docs/ImagingApi.md#create_image_search) | **POST** /imaging/ai/imageSearch/create | Create new search context.
|
101
105
|
*AsposeImagingCloud::ImagingApi* | [**create_image_tag**](docs/ImagingApi.md#create_image_tag) | **POST** /imaging/ai/imageSearch/{searchContextId}/addTag | Add tag and reference image to search context. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
102
106
|
*AsposeImagingCloud::ImagingApi* | [**create_modified_bmp**](docs/ImagingApi.md#create_modified_bmp) | **POST** /imaging/bmp | Update parameters of BMP image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
@@ -109,10 +113,12 @@ Class | Method | HTTP request | Description
|
|
109
113
|
*AsposeImagingCloud::ImagingApi* | [**create_modified_tiff**](docs/ImagingApi.md#create_modified_tiff) | **POST** /imaging/tiff | Update parameters of TIFF image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
110
114
|
*AsposeImagingCloud::ImagingApi* | [**create_modified_web_p**](docs/ImagingApi.md#create_modified_web_p) | **POST** /imaging/webp | Update parameters of WEBP image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
111
115
|
*AsposeImagingCloud::ImagingApi* | [**create_modified_wmf**](docs/ImagingApi.md#create_modified_wmf) | **POST** /imaging/wmf | Process existing WMF image using given parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
116
|
+
*AsposeImagingCloud::ImagingApi* | [**create_object_bounds**](docs/ImagingApi.md#create_object_bounds) | **POST** /imaging/ai/objectdetection/bounds | Detects objects bounds. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
112
117
|
*AsposeImagingCloud::ImagingApi* | [**create_resized_image**](docs/ImagingApi.md#create_resized_image) | **POST** /imaging/resize | Resize an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
113
118
|
*AsposeImagingCloud::ImagingApi* | [**create_rotate_flipped_image**](docs/ImagingApi.md#create_rotate_flipped_image) | **POST** /imaging/rotateflip | Rotate and/or flip an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
114
119
|
*AsposeImagingCloud::ImagingApi* | [**create_saved_image_as**](docs/ImagingApi.md#create_saved_image_as) | **POST** /imaging/saveAs | Export existing image to another format. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
115
120
|
*AsposeImagingCloud::ImagingApi* | [**create_updated_image**](docs/ImagingApi.md#create_updated_image) | **POST** /imaging/updateImage | Perform 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.
|
121
|
+
*AsposeImagingCloud::ImagingApi* | [**create_visual_object_bounds**](docs/ImagingApi.md#create_visual_object_bounds) | **POST** /imaging/ai/objectdetection/visualbounds | Detect objects bounds and draw them on the original image
|
116
122
|
*AsposeImagingCloud::ImagingApi* | [**create_web_site_image_features**](docs/ImagingApi.md#create_web_site_image_features) | **POST** /imaging/ai/imageSearch/{searchContextId}/features/web | Extract images features from web page and add them to search context
|
117
123
|
*AsposeImagingCloud::ImagingApi* | [**crop_image**](docs/ImagingApi.md#crop_image) | **GET** /imaging/{name}/crop | Crop an existing image.
|
118
124
|
*AsposeImagingCloud::ImagingApi* | [**delete_file**](docs/ImagingApi.md#delete_file) | **DELETE** /imaging/storage/file/{path} | Delete file
|
@@ -120,9 +126,10 @@ Class | Method | HTTP request | Description
|
|
120
126
|
*AsposeImagingCloud::ImagingApi* | [**delete_image_features**](docs/ImagingApi.md#delete_image_features) | **DELETE** /imaging/ai/imageSearch/{searchContextId}/features | Deletes image features from search context.
|
121
127
|
*AsposeImagingCloud::ImagingApi* | [**delete_image_search**](docs/ImagingApi.md#delete_image_search) | **DELETE** /imaging/ai/imageSearch/{searchContextId} | Deletes the search context.
|
122
128
|
*AsposeImagingCloud::ImagingApi* | [**delete_search_image**](docs/ImagingApi.md#delete_search_image) | **DELETE** /imaging/ai/imageSearch/{searchContextId}/image | Delete image and images features from search context
|
129
|
+
*AsposeImagingCloud::ImagingApi* | [**deskew_image**](docs/ImagingApi.md#deskew_image) | **GET** /imaging/{name}/deskew | Deskew an existing image.
|
123
130
|
*AsposeImagingCloud::ImagingApi* | [**download_file**](docs/ImagingApi.md#download_file) | **GET** /imaging/storage/file/{path} | Download file
|
124
131
|
*AsposeImagingCloud::ImagingApi* | [**extract_image_features**](docs/ImagingApi.md#extract_image_features) | **GET** /imaging/ai/imageSearch/{searchContextId}/image2features | Extract 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.
|
125
|
-
*AsposeImagingCloud::ImagingApi* | [**extract_image_frame_properties**](docs/ImagingApi.md#extract_image_frame_properties) | **POST** /imaging/frames/{frameId}/properties | Get separate frame properties of existing
|
132
|
+
*AsposeImagingCloud::ImagingApi* | [**extract_image_frame_properties**](docs/ImagingApi.md#extract_image_frame_properties) | **POST** /imaging/frames/{frameId}/properties | Get separate frame properties of existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
126
133
|
*AsposeImagingCloud::ImagingApi* | [**extract_image_properties**](docs/ImagingApi.md#extract_image_properties) | **POST** /imaging/properties | Get properties of an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
127
134
|
*AsposeImagingCloud::ImagingApi* | [**filter_effect_image**](docs/ImagingApi.md#filter_effect_image) | **PUT** /imaging/{name}/filterEffect | Apply filtering effects to an existing image.
|
128
135
|
*AsposeImagingCloud::ImagingApi* | [**find_image_duplicates**](docs/ImagingApi.md#find_image_duplicates) | **GET** /imaging/ai/imageSearch/{searchContextId}/findDuplicates | Find images duplicates.
|
@@ -132,11 +139,13 @@ Class | Method | HTTP request | Description
|
|
132
139
|
*AsposeImagingCloud::ImagingApi* | [**get_file_versions**](docs/ImagingApi.md#get_file_versions) | **GET** /imaging/storage/version/{path} | Get file versions
|
133
140
|
*AsposeImagingCloud::ImagingApi* | [**get_files_list**](docs/ImagingApi.md#get_files_list) | **GET** /imaging/storage/folder/{path} | Get all files and folders within a folder
|
134
141
|
*AsposeImagingCloud::ImagingApi* | [**get_image_features**](docs/ImagingApi.md#get_image_features) | **GET** /imaging/ai/imageSearch/{searchContextId}/features | Gets image features from search context.
|
135
|
-
*AsposeImagingCloud::ImagingApi* | [**get_image_frame**](docs/ImagingApi.md#get_image_frame) | **GET** /imaging/{name}/frames/{frameId} | Get separate frame from existing
|
136
|
-
*AsposeImagingCloud::ImagingApi* | [**get_image_frame_properties**](docs/ImagingApi.md#get_image_frame_properties) | **GET** /imaging/{name}/frames/{frameId}/properties | Get separate frame properties of existing
|
142
|
+
*AsposeImagingCloud::ImagingApi* | [**get_image_frame**](docs/ImagingApi.md#get_image_frame) | **GET** /imaging/{name}/frames/{frameId} | Get separate frame from existing image.
|
143
|
+
*AsposeImagingCloud::ImagingApi* | [**get_image_frame_properties**](docs/ImagingApi.md#get_image_frame_properties) | **GET** /imaging/{name}/frames/{frameId}/properties | Get separate frame properties of existing image.
|
144
|
+
*AsposeImagingCloud::ImagingApi* | [**get_image_frame_range**](docs/ImagingApi.md#get_image_frame_range) | **GET** /imaging/{name}/frames/range | Get frames range from existing image.
|
137
145
|
*AsposeImagingCloud::ImagingApi* | [**get_image_properties**](docs/ImagingApi.md#get_image_properties) | **GET** /imaging/{name}/properties | Get properties of an image.
|
138
146
|
*AsposeImagingCloud::ImagingApi* | [**get_image_search_status**](docs/ImagingApi.md#get_image_search_status) | **GET** /imaging/ai/imageSearch/{searchContextId}/status | Gets the search context status.
|
139
147
|
*AsposeImagingCloud::ImagingApi* | [**get_search_image**](docs/ImagingApi.md#get_search_image) | **GET** /imaging/ai/imageSearch/{searchContextId}/image | Get image from search context
|
148
|
+
*AsposeImagingCloud::ImagingApi* | [**grayscale_image**](docs/ImagingApi.md#grayscale_image) | **GET** /imaging/{name}/grayscale | Grayscale an existing image.
|
140
149
|
*AsposeImagingCloud::ImagingApi* | [**modify_bmp**](docs/ImagingApi.md#modify_bmp) | **GET** /imaging/{name}/bmp | Update parameters of existing BMP image.
|
141
150
|
*AsposeImagingCloud::ImagingApi* | [**modify_emf**](docs/ImagingApi.md#modify_emf) | **GET** /imaging/{name}/emf | Process existing EMF imaging using given parameters.
|
142
151
|
*AsposeImagingCloud::ImagingApi* | [**modify_gif**](docs/ImagingApi.md#modify_gif) | **GET** /imaging/{name}/gif | Update parameters of existing GIF image.
|
@@ -149,6 +158,7 @@ Class | Method | HTTP request | Description
|
|
149
158
|
*AsposeImagingCloud::ImagingApi* | [**modify_wmf**](docs/ImagingApi.md#modify_wmf) | **GET** /imaging/{name}/wmf | Process existing WMF image using given parameters.
|
150
159
|
*AsposeImagingCloud::ImagingApi* | [**move_file**](docs/ImagingApi.md#move_file) | **PUT** /imaging/storage/file/move/{srcPath} | Move file
|
151
160
|
*AsposeImagingCloud::ImagingApi* | [**move_folder**](docs/ImagingApi.md#move_folder) | **PUT** /imaging/storage/folder/move/{srcPath} | Move folder
|
161
|
+
*AsposeImagingCloud::ImagingApi* | [**object_bounds**](docs/ImagingApi.md#object_bounds) | **GET** /imaging/ai/objectdetection/bounds | Detect objects' bounds
|
152
162
|
*AsposeImagingCloud::ImagingApi* | [**object_exists**](docs/ImagingApi.md#object_exists) | **GET** /imaging/storage/exist/{path} | Check if file or folder exists
|
153
163
|
*AsposeImagingCloud::ImagingApi* | [**resize_image**](docs/ImagingApi.md#resize_image) | **GET** /imaging/{name}/resize | Resize an existing image.
|
154
164
|
*AsposeImagingCloud::ImagingApi* | [**rotate_flip_image**](docs/ImagingApi.md#rotate_flip_image) | **GET** /imaging/{name}/rotateflip | Rotate and/or flip an existing image.
|
@@ -158,11 +168,14 @@ Class | Method | HTTP request | Description
|
|
158
168
|
*AsposeImagingCloud::ImagingApi* | [**update_image_features**](docs/ImagingApi.md#update_image_features) | **PUT** /imaging/ai/imageSearch/{searchContextId}/features | Update images features in search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
|
159
169
|
*AsposeImagingCloud::ImagingApi* | [**update_search_image**](docs/ImagingApi.md#update_search_image) | **PUT** /imaging/ai/imageSearch/{searchContextId}/image | Update image and images features in search context. Image data may be passed as zero-indexed multipart/form-data content or as raw body stream.
|
160
170
|
*AsposeImagingCloud::ImagingApi* | [**upload_file**](docs/ImagingApi.md#upload_file) | **PUT** /imaging/storage/file/{path} | Upload file
|
171
|
+
*AsposeImagingCloud::ImagingApi* | [**visual_object_bounds**](docs/ImagingApi.md#visual_object_bounds) | **GET** /imaging/ai/objectdetection/visualbounds | Detect objects bounds and draw them on the original image
|
161
172
|
|
162
173
|
|
163
174
|
## Documentation for Models
|
164
175
|
|
165
176
|
- [AsposeImagingCloud::BmpProperties](docs/BmpProperties.md)
|
177
|
+
- [AsposeImagingCloud::DetectedObject](docs/DetectedObject.md)
|
178
|
+
- [AsposeImagingCloud::DetectedObjectList](docs/DetectedObjectList.md)
|
166
179
|
- [AsposeImagingCloud::DicomProperties](docs/DicomProperties.md)
|
167
180
|
- [AsposeImagingCloud::DiscUsage](docs/DiscUsage.md)
|
168
181
|
- [AsposeImagingCloud::DjvuProperties](docs/DjvuProperties.md)
|
@@ -188,6 +201,7 @@ Class | Method | HTTP request | Description
|
|
188
201
|
- [AsposeImagingCloud::OdgProperties](docs/OdgProperties.md)
|
189
202
|
- [AsposeImagingCloud::PngProperties](docs/PngProperties.md)
|
190
203
|
- [AsposeImagingCloud::PsdProperties](docs/PsdProperties.md)
|
204
|
+
- [AsposeImagingCloud::Rectangle](docs/Rectangle.md)
|
191
205
|
- [AsposeImagingCloud::SearchContextStatus](docs/SearchContextStatus.md)
|
192
206
|
- [AsposeImagingCloud::SearchResult](docs/SearchResult.md)
|
193
207
|
- [AsposeImagingCloud::SearchResultsSet](docs/SearchResultsSet.md)
|
data/lib/aspose-imaging-cloud.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ----------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="aspose-imaging-cloud.rb">
|
3
|
-
# Copyright (c) 2018-
|
3
|
+
# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved.
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
@@ -32,6 +32,8 @@ require_relative './aspose-imaging-cloud/configuration'
|
|
32
32
|
|
33
33
|
# Models
|
34
34
|
require_relative './aspose-imaging-cloud/models/bmp_properties'
|
35
|
+
require_relative './aspose-imaging-cloud/models/detected_object'
|
36
|
+
require_relative './aspose-imaging-cloud/models/detected_object_list'
|
35
37
|
require_relative './aspose-imaging-cloud/models/dicom_properties'
|
36
38
|
require_relative './aspose-imaging-cloud/models/disc_usage'
|
37
39
|
require_relative './aspose-imaging-cloud/models/djvu_properties'
|
@@ -57,6 +59,7 @@ require_relative './aspose-imaging-cloud/models/odg_page'
|
|
57
59
|
require_relative './aspose-imaging-cloud/models/odg_properties'
|
58
60
|
require_relative './aspose-imaging-cloud/models/png_properties'
|
59
61
|
require_relative './aspose-imaging-cloud/models/psd_properties'
|
62
|
+
require_relative './aspose-imaging-cloud/models/rectangle'
|
60
63
|
require_relative './aspose-imaging-cloud/models/search_context_status'
|
61
64
|
require_relative './aspose-imaging-cloud/models/search_result'
|
62
65
|
require_relative './aspose-imaging-cloud/models/search_results_set'
|
@@ -85,77 +88,90 @@ require_relative 'aspose-imaging-cloud/api/imaging_api'
|
|
85
88
|
|
86
89
|
|
87
90
|
# Request models
|
88
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
91
|
+
require_relative './aspose-imaging-cloud/models/requests/add_search_image_request'
|
92
|
+
require_relative './aspose-imaging-cloud/models/requests/append_tiff_request'
|
93
|
+
require_relative './aspose-imaging-cloud/models/requests/compare_images_request'
|
94
|
+
require_relative './aspose-imaging-cloud/models/requests/convert_tiff_to_fax_request'
|
95
|
+
require_relative './aspose-imaging-cloud/models/requests/copy_file_request'
|
96
|
+
require_relative './aspose-imaging-cloud/models/requests/copy_folder_request'
|
97
|
+
require_relative './aspose-imaging-cloud/models/requests/create_cropped_image_request'
|
98
|
+
require_relative './aspose-imaging-cloud/models/requests/create_deskewed_image_request'
|
99
|
+
require_relative './aspose-imaging-cloud/models/requests/create_fax_tiff_request'
|
100
|
+
require_relative './aspose-imaging-cloud/models/requests/create_folder_request'
|
101
|
+
require_relative './aspose-imaging-cloud/models/requests/create_grayscaled_image_request'
|
102
|
+
require_relative './aspose-imaging-cloud/models/requests/create_image_features_request'
|
103
|
+
require_relative './aspose-imaging-cloud/models/requests/create_image_frame_range_request'
|
89
104
|
require_relative './aspose-imaging-cloud/models/requests/create_image_frame_request'
|
90
105
|
require_relative './aspose-imaging-cloud/models/requests/create_image_search_request'
|
91
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
92
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
93
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
106
|
+
require_relative './aspose-imaging-cloud/models/requests/create_image_tag_request'
|
107
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_bmp_request'
|
108
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_emf_request'
|
109
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_gif_request'
|
94
110
|
require_relative './aspose-imaging-cloud/models/requests/create_modified_jpeg2000_request'
|
95
|
-
require_relative './aspose-imaging-cloud/models/requests/delete_search_image_request'
|
96
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_jpeg_request'
|
97
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_jpeg2000_request'
|
98
|
-
require_relative './aspose-imaging-cloud/models/requests/extract_image_properties_request'
|
99
111
|
require_relative './aspose-imaging-cloud/models/requests/create_modified_jpeg_request'
|
100
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
101
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
112
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_psd_request'
|
113
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_svg_request'
|
114
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_tiff_request'
|
115
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_web_p_request'
|
116
|
+
require_relative './aspose-imaging-cloud/models/requests/create_modified_wmf_request'
|
117
|
+
require_relative './aspose-imaging-cloud/models/requests/create_object_bounds_request'
|
102
118
|
require_relative './aspose-imaging-cloud/models/requests/create_resized_image_request'
|
103
|
-
require_relative './aspose-imaging-cloud/models/requests/create_image_features_request'
|
104
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_bmp_request'
|
105
|
-
require_relative './aspose-imaging-cloud/models/requests/create_updated_image_request'
|
106
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_web_p_request'
|
107
|
-
require_relative './aspose-imaging-cloud/models/requests/update_image_request'
|
108
|
-
require_relative './aspose-imaging-cloud/models/requests/save_image_as_request'
|
109
|
-
require_relative './aspose-imaging-cloud/models/requests/find_image_duplicates_request'
|
110
|
-
require_relative './aspose-imaging-cloud/models/requests/create_modified_gif_request'
|
111
|
-
require_relative './aspose-imaging-cloud/models/requests/delete_file_request'
|
112
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_svg_request'
|
113
|
-
require_relative './aspose-imaging-cloud/models/requests/imaging_request'
|
114
119
|
require_relative './aspose-imaging-cloud/models/requests/create_rotate_flipped_image_request'
|
115
|
-
require_relative './aspose-imaging-cloud/models/requests/extract_image_features_request'
|
116
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_gif_request'
|
117
|
-
require_relative './aspose-imaging-cloud/models/requests/object_exists_request'
|
118
|
-
require_relative './aspose-imaging-cloud/models/requests/create_modified_web_p_request'
|
119
|
-
require_relative './aspose-imaging-cloud/models/requests/get_disc_usage_request'
|
120
|
-
require_relative './aspose-imaging-cloud/models/requests/http_request'
|
121
|
-
require_relative './aspose-imaging-cloud/models/requests/create_modified_bmp_request'
|
122
|
-
require_relative './aspose-imaging-cloud/models/requests/create_modified_svg_request'
|
123
|
-
require_relative './aspose-imaging-cloud/models/requests/update_image_features_request'
|
124
|
-
require_relative './aspose-imaging-cloud/models/requests/modify_tiff_request'
|
125
120
|
require_relative './aspose-imaging-cloud/models/requests/create_saved_image_as_request'
|
126
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
127
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
128
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
129
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
121
|
+
require_relative './aspose-imaging-cloud/models/requests/create_updated_image_request'
|
122
|
+
require_relative './aspose-imaging-cloud/models/requests/create_visual_object_bounds_request'
|
123
|
+
require_relative './aspose-imaging-cloud/models/requests/create_web_site_image_features_request'
|
124
|
+
require_relative './aspose-imaging-cloud/models/requests/crop_image_request'
|
125
|
+
require_relative './aspose-imaging-cloud/models/requests/delete_file_request'
|
130
126
|
require_relative './aspose-imaging-cloud/models/requests/delete_folder_request'
|
131
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
132
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
133
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
134
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
127
|
+
require_relative './aspose-imaging-cloud/models/requests/delete_image_features_request'
|
128
|
+
require_relative './aspose-imaging-cloud/models/requests/delete_image_search_request'
|
129
|
+
require_relative './aspose-imaging-cloud/models/requests/delete_search_image_request'
|
130
|
+
require_relative './aspose-imaging-cloud/models/requests/deskew_image_request'
|
135
131
|
require_relative './aspose-imaging-cloud/models/requests/download_file_request'
|
136
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
137
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
138
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
132
|
+
require_relative './aspose-imaging-cloud/models/requests/extract_image_features_request'
|
133
|
+
require_relative './aspose-imaging-cloud/models/requests/extract_image_frame_properties_request'
|
134
|
+
require_relative './aspose-imaging-cloud/models/requests/extract_image_properties_request'
|
135
|
+
require_relative './aspose-imaging-cloud/models/requests/filter_effect_image_request'
|
139
136
|
require_relative './aspose-imaging-cloud/models/requests/find_images_by_tags_request'
|
140
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
141
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
142
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
143
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
144
|
-
require_relative './aspose-imaging-cloud/models/requests/copy_file_request'
|
145
|
-
require_relative './aspose-imaging-cloud/models/requests/create_web_site_image_features_request'
|
146
|
-
require_relative './aspose-imaging-cloud/models/requests/add_search_image_request'
|
137
|
+
require_relative './aspose-imaging-cloud/models/requests/find_image_duplicates_request'
|
138
|
+
require_relative './aspose-imaging-cloud/models/requests/find_similar_images_request'
|
139
|
+
require_relative './aspose-imaging-cloud/models/requests/get_disc_usage_request'
|
140
|
+
require_relative './aspose-imaging-cloud/models/requests/get_files_list_request'
|
147
141
|
require_relative './aspose-imaging-cloud/models/requests/get_file_versions_request'
|
148
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
149
|
-
require_relative './aspose-imaging-cloud/models/requests/create_image_tag_request'
|
150
|
-
require_relative './aspose-imaging-cloud/models/requests/resize_image_request'
|
142
|
+
require_relative './aspose-imaging-cloud/models/requests/get_image_features_request'
|
151
143
|
require_relative './aspose-imaging-cloud/models/requests/get_image_frame_properties_request'
|
152
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
153
|
-
require_relative './aspose-imaging-cloud/models/requests/storage_exists_request'
|
144
|
+
require_relative './aspose-imaging-cloud/models/requests/get_image_frame_range_request'
|
154
145
|
require_relative './aspose-imaging-cloud/models/requests/get_image_frame_request'
|
155
146
|
require_relative './aspose-imaging-cloud/models/requests/get_image_properties_request'
|
156
|
-
require_relative './aspose-imaging-cloud/models/requests/get_search_image_request'
|
157
147
|
require_relative './aspose-imaging-cloud/models/requests/get_image_search_status_request'
|
158
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
159
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
160
|
-
require_relative './aspose-imaging-cloud/models/requests/
|
148
|
+
require_relative './aspose-imaging-cloud/models/requests/get_object_bounds_request'
|
149
|
+
require_relative './aspose-imaging-cloud/models/requests/get_search_image_request'
|
150
|
+
require_relative './aspose-imaging-cloud/models/requests/get_visual_object_bounds_request'
|
151
|
+
require_relative './aspose-imaging-cloud/models/requests/grayscale_image_request'
|
152
|
+
require_relative './aspose-imaging-cloud/models/requests/http_request'
|
153
|
+
require_relative './aspose-imaging-cloud/models/requests/imaging_request'
|
154
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_bmp_request'
|
155
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_emf_request'
|
156
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_gif_request'
|
157
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_jpeg2000_request'
|
158
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_jpeg_request'
|
159
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_psd_request'
|
160
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_svg_request'
|
161
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_tiff_request'
|
162
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_web_p_request'
|
163
|
+
require_relative './aspose-imaging-cloud/models/requests/modify_wmf_request'
|
164
|
+
require_relative './aspose-imaging-cloud/models/requests/move_file_request'
|
165
|
+
require_relative './aspose-imaging-cloud/models/requests/move_folder_request'
|
166
|
+
require_relative './aspose-imaging-cloud/models/requests/object_bounds_request'
|
167
|
+
require_relative './aspose-imaging-cloud/models/requests/object_exists_request'
|
168
|
+
require_relative './aspose-imaging-cloud/models/requests/resize_image_request'
|
169
|
+
require_relative './aspose-imaging-cloud/models/requests/rotate_flip_image_request'
|
170
|
+
require_relative './aspose-imaging-cloud/models/requests/save_image_as_request'
|
171
|
+
require_relative './aspose-imaging-cloud/models/requests/storage_exists_request'
|
172
|
+
require_relative './aspose-imaging-cloud/models/requests/update_image_features_request'
|
173
|
+
require_relative './aspose-imaging-cloud/models/requests/update_image_request'
|
174
|
+
require_relative './aspose-imaging-cloud/models/requests/update_search_image_request'
|
175
|
+
require_relative './aspose-imaging-cloud/models/requests/upload_file_request'
|
176
|
+
require_relative './aspose-imaging-cloud/models/requests/visual_object_bounds_request'
|
161
177
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ----------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="imaging_api.rb">
|
3
|
-
# Copyright (c) 2018-
|
3
|
+
# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved.
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
@@ -101,6 +101,22 @@ module AsposeImagingCloud
|
|
101
101
|
make_request(http_request, :POST, 'File')
|
102
102
|
end
|
103
103
|
|
104
|
+
# Deskew an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
105
|
+
# @param [create_deskewed_imageRequest] request Request object.
|
106
|
+
# @return [File]
|
107
|
+
def create_deskewed_image(request)
|
108
|
+
http_request = request.to_http_info(@api_client.config)
|
109
|
+
make_request(http_request, :POST, 'File')
|
110
|
+
end
|
111
|
+
|
112
|
+
# Update parameters of TIFF image accordingly to fax parameters. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
113
|
+
# @param [create_fax_tiffRequest] request Request object.
|
114
|
+
# @return [File]
|
115
|
+
def create_fax_tiff(request)
|
116
|
+
http_request = request.to_http_info(@api_client.config)
|
117
|
+
make_request(http_request, :POST, 'File')
|
118
|
+
end
|
119
|
+
|
104
120
|
# Create the folder
|
105
121
|
# @param [create_folderRequest] request Request object.
|
106
122
|
# @return [nil]
|
@@ -110,6 +126,14 @@ module AsposeImagingCloud
|
|
110
126
|
nil
|
111
127
|
end
|
112
128
|
|
129
|
+
# Grayscales an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
130
|
+
# @param [create_grayscaled_imageRequest] request Request object.
|
131
|
+
# @return [File]
|
132
|
+
def create_grayscaled_image(request)
|
133
|
+
http_request = request.to_http_info(@api_client.config)
|
134
|
+
make_request(http_request, :POST, 'File')
|
135
|
+
end
|
136
|
+
|
113
137
|
# Extract 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.
|
114
138
|
# @param [create_image_featuresRequest] request Request object.
|
115
139
|
# @return [nil]
|
@@ -119,7 +143,7 @@ module AsposeImagingCloud
|
|
119
143
|
nil
|
120
144
|
end
|
121
145
|
|
122
|
-
# Get separate frame from existing
|
146
|
+
# Get separate frame from existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
123
147
|
# @param [create_image_frameRequest] request Request object.
|
124
148
|
# @return [File]
|
125
149
|
def create_image_frame(request)
|
@@ -127,6 +151,14 @@ module AsposeImagingCloud
|
|
127
151
|
make_request(http_request, :POST, 'File')
|
128
152
|
end
|
129
153
|
|
154
|
+
# Get frames range from existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
155
|
+
# @param [create_image_frame_rangeRequest] request Request object.
|
156
|
+
# @return [File]
|
157
|
+
def create_image_frame_range(request)
|
158
|
+
http_request = request.to_http_info(@api_client.config)
|
159
|
+
make_request(http_request, :POST, 'File')
|
160
|
+
end
|
161
|
+
|
130
162
|
# Create new search context.
|
131
163
|
# @param [create_image_searchRequest] request Request object.
|
132
164
|
# @return [SearchContextStatus]
|
@@ -224,6 +256,14 @@ module AsposeImagingCloud
|
|
224
256
|
make_request(http_request, :POST, 'File')
|
225
257
|
end
|
226
258
|
|
259
|
+
# Detects objects bounds. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
260
|
+
# @param [create_object_boundsRequest] request Request object.
|
261
|
+
# @return [DetectedObjectList]
|
262
|
+
def create_object_bounds(request)
|
263
|
+
http_request = request.to_http_info(@api_client.config)
|
264
|
+
make_request(http_request, :POST, 'DetectedObjectList')
|
265
|
+
end
|
266
|
+
|
227
267
|
# Resize an image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
228
268
|
# @param [create_resized_imageRequest] request Request object.
|
229
269
|
# @return [File]
|
@@ -256,6 +296,14 @@ module AsposeImagingCloud
|
|
256
296
|
make_request(http_request, :POST, 'File')
|
257
297
|
end
|
258
298
|
|
299
|
+
# Detects 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
|
300
|
+
# @param [create_visual_object_boundsRequest] request Request object.
|
301
|
+
# @return [File]
|
302
|
+
def create_visual_object_bounds(request)
|
303
|
+
http_request = request.to_http_info(@api_client.config)
|
304
|
+
make_request(http_request, :POST, 'File')
|
305
|
+
end
|
306
|
+
|
259
307
|
# Extract images features from web page and add them to search context
|
260
308
|
# @param [create_web_site_image_featuresRequest] request Request object.
|
261
309
|
# @return [nil]
|
@@ -318,6 +366,14 @@ module AsposeImagingCloud
|
|
318
366
|
nil
|
319
367
|
end
|
320
368
|
|
369
|
+
# Deskew an existing image.
|
370
|
+
# @param [deskew_imageRequest] request Request object.
|
371
|
+
# @return [File]
|
372
|
+
def deskew_image(request)
|
373
|
+
http_request = request.to_http_info(@api_client.config)
|
374
|
+
make_request(http_request, :GET, 'File')
|
375
|
+
end
|
376
|
+
|
321
377
|
# Download file
|
322
378
|
# @param [download_fileRequest] request Request object.
|
323
379
|
# @return [File]
|
@@ -334,7 +390,7 @@ module AsposeImagingCloud
|
|
334
390
|
make_request(http_request, :GET, 'ImageFeatures')
|
335
391
|
end
|
336
392
|
|
337
|
-
# Get separate frame properties of existing
|
393
|
+
# Get separate frame properties of existing image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.
|
338
394
|
# @param [extract_image_frame_propertiesRequest] request Request object.
|
339
395
|
# @return [ImagingResponse]
|
340
396
|
def extract_image_frame_properties(request)
|
@@ -414,7 +470,7 @@ module AsposeImagingCloud
|
|
414
470
|
make_request(http_request, :GET, 'ImageFeatures')
|
415
471
|
end
|
416
472
|
|
417
|
-
# Get separate frame from existing
|
473
|
+
# Get separate frame from existing image.
|
418
474
|
# @param [get_image_frameRequest] request Request object.
|
419
475
|
# @return [File]
|
420
476
|
def get_image_frame(request)
|
@@ -422,7 +478,7 @@ module AsposeImagingCloud
|
|
422
478
|
make_request(http_request, :GET, 'File')
|
423
479
|
end
|
424
480
|
|
425
|
-
# Get separate frame properties of existing
|
481
|
+
# Get separate frame properties of existing image.
|
426
482
|
# @param [get_image_frame_propertiesRequest] request Request object.
|
427
483
|
# @return [ImagingResponse]
|
428
484
|
def get_image_frame_properties(request)
|
@@ -430,6 +486,14 @@ module AsposeImagingCloud
|
|
430
486
|
make_request(http_request, :GET, 'ImagingResponse')
|
431
487
|
end
|
432
488
|
|
489
|
+
# Get frames range from existing image.
|
490
|
+
# @param [get_image_frame_rangeRequest] request Request object.
|
491
|
+
# @return [File]
|
492
|
+
def get_image_frame_range(request)
|
493
|
+
http_request = request.to_http_info(@api_client.config)
|
494
|
+
make_request(http_request, :GET, 'File')
|
495
|
+
end
|
496
|
+
|
433
497
|
# Get properties of an image.
|
434
498
|
# @param [get_image_propertiesRequest] request Request object.
|
435
499
|
# @return [ImagingResponse]
|
@@ -446,6 +510,14 @@ module AsposeImagingCloud
|
|
446
510
|
make_request(http_request, :GET, 'SearchContextStatus')
|
447
511
|
end
|
448
512
|
|
513
|
+
# Detects objects' bounds
|
514
|
+
# @param [get_object_boundsRequest] request Request object.
|
515
|
+
# @return [DetectedObjectList]
|
516
|
+
def get_object_bounds(request)
|
517
|
+
http_request = request.to_http_info(@api_client.config)
|
518
|
+
make_request(http_request, :GET, 'DetectedObjectList')
|
519
|
+
end
|
520
|
+
|
449
521
|
# Get image from search context
|
450
522
|
# @param [get_search_imageRequest] request Request object.
|
451
523
|
# @return [File]
|
@@ -454,6 +526,22 @@ module AsposeImagingCloud
|
|
454
526
|
make_request(http_request, :GET, 'File')
|
455
527
|
end
|
456
528
|
|
529
|
+
# Detects objects bounds and draw them on the original image
|
530
|
+
# @param [get_visual_object_boundsRequest] request Request object.
|
531
|
+
# @return [File]
|
532
|
+
def get_visual_object_bounds(request)
|
533
|
+
http_request = request.to_http_info(@api_client.config)
|
534
|
+
make_request(http_request, :GET, 'File')
|
535
|
+
end
|
536
|
+
|
537
|
+
# Grayscale an existing image.
|
538
|
+
# @param [grayscale_imageRequest] request Request object.
|
539
|
+
# @return [File]
|
540
|
+
def grayscale_image(request)
|
541
|
+
http_request = request.to_http_info(@api_client.config)
|
542
|
+
make_request(http_request, :GET, 'File')
|
543
|
+
end
|
544
|
+
|
457
545
|
# Update parameters of existing BMP image.
|
458
546
|
# @param [modify_bmpRequest] request Request object.
|
459
547
|
# @return [File]
|