cloudmersive-convert-api-client 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/cloudmersive-convert-api-client.gemspec +1 -1
- data/docs/ConvertDataApi.md +110 -0
- data/docs/ConvertImageApi.md +4 -4
- data/lib/cloudmersive-convert-api-client.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +113 -1
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +5 -5
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
- data/lib/cloudmersive-convert-api-client/version.rb +2 -2
- data/spec/api/compare_document_api_spec.rb +48 -48
- data/spec/api/convert_data_api_spec.rb +59 -59
- data/spec/api/convert_document_api_spec.rb +203 -203
- data/spec/api/convert_image_api_spec.rb +74 -74
- data/spec/api/convert_template_api_spec.rb +47 -47
- data/spec/api/convert_web_api_spec.rb +95 -95
- data/spec/api/edit_document_api_spec.rb +311 -311
- data/spec/api/merge_document_api_spec.rb +74 -74
- data/spec/api/validate_document_api_spec.rb +71 -71
- data/spec/api/viewer_tools_api_spec.rb +47 -47
- data/spec/api_client_spec.rb +226 -226
- data/spec/configuration_spec.rb +42 -42
- data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
- data/spec/models/autodetect_get_info_result_spec.rb +60 -60
- data/spec/models/converted_png_page_spec.rb +48 -48
- data/spec/models/document_validation_error_spec.rb +60 -60
- data/spec/models/document_validation_result_spec.rb +60 -60
- data/spec/models/docx_body_spec.rb +54 -54
- data/spec/models/docx_cell_style_spec.rb +60 -60
- data/spec/models/docx_footer_spec.rb +54 -54
- data/spec/models/docx_header_spec.rb +54 -54
- data/spec/models/docx_image_spec.rb +114 -114
- data/spec/models/docx_insert_image_request_spec.rb +78 -78
- data/spec/models/docx_insert_image_response_spec.rb +48 -48
- data/spec/models/docx_paragraph_spec.rb +60 -60
- data/spec/models/docx_remove_object_request_spec.rb +54 -54
- data/spec/models/docx_remove_object_response_spec.rb +48 -48
- data/spec/models/docx_run_spec.rb +84 -84
- data/spec/models/docx_section_spec.rb +48 -48
- data/spec/models/docx_set_footer_request_spec.rb +54 -54
- data/spec/models/docx_set_footer_response_spec.rb +48 -48
- data/spec/models/docx_set_header_request_spec.rb +54 -54
- data/spec/models/docx_set_header_response_spec.rb +48 -48
- data/spec/models/docx_style_spec.rb +78 -78
- data/spec/models/docx_table_cell_spec.rb +84 -84
- data/spec/models/docx_table_row_spec.rb +54 -54
- data/spec/models/docx_table_spec.rb +270 -270
- data/spec/models/docx_text_spec.rb +54 -54
- data/spec/models/exif_value_spec.rb +54 -54
- data/spec/models/finish_editing_request_spec.rb +42 -42
- data/spec/models/get_docx_body_request_spec.rb +48 -48
- data/spec/models/get_docx_body_response_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
- data/spec/models/get_docx_images_request_spec.rb +48 -48
- data/spec/models/get_docx_images_response_spec.rb +48 -48
- data/spec/models/get_docx_sections_request_spec.rb +48 -48
- data/spec/models/get_docx_sections_response_spec.rb +48 -48
- data/spec/models/get_docx_styles_request_spec.rb +48 -48
- data/spec/models/get_docx_styles_response_spec.rb +48 -48
- data/spec/models/get_docx_tables_request_spec.rb +48 -48
- data/spec/models/get_docx_tables_response_spec.rb +48 -48
- data/spec/models/get_image_info_result_spec.rb +138 -138
- data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
- data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
- data/spec/models/get_xlsx_images_request_spec.rb +54 -54
- data/spec/models/get_xlsx_images_response_spec.rb +48 -48
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
- data/spec/models/html_md_result_spec.rb +48 -48
- data/spec/models/html_template_application_request_spec.rb +54 -54
- data/spec/models/html_template_application_response_spec.rb +48 -48
- data/spec/models/html_template_operation_spec.rb +58 -58
- data/spec/models/html_to_office_request_spec.rb +42 -42
- data/spec/models/html_to_pdf_request_spec.rb +48 -48
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
- data/spec/models/insert_docx_tables_request_spec.rb +66 -66
- data/spec/models/insert_docx_tables_response_spec.rb +48 -48
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
- data/spec/models/pdf_to_png_result_spec.rb +48 -48
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
- data/spec/models/replace_string_request_spec.rb +66 -66
- data/spec/models/screenshot_request_spec.rb +60 -60
- data/spec/models/viewer_response_spec.rb +48 -48
- data/spec/models/xlsx_image_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
- data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
- data/spec/models/xlsx_worksheet_spec.rb +48 -48
- data/spec/spec_helper.rb +111 -111
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5dbade5fc1cf3daf315925345a823d55de7da33bc2fbc6b3209713355499c2c
|
4
|
+
data.tar.gz: 15f10e251189f596c8cdfa93f7b2afc9f81b3eabb0cdb34c8da53ba93cd18ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c657280678c361962de0d08e76b461d5800af6f5275e59ed58493637b15ef14fb5b58c72ec4b8a40fd4e402a0b05cb742af9c176855ce7b4efff424335847f
|
7
|
+
data.tar.gz: dbcf260d65068494d7056ca0f9ed239c51ee3b5ba5297664ecc8c10a865f8f65250b1a234c4d5c402ce83688c569fc82f160f4b1930f88ac232d102fccf566e7
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.3.
|
10
|
+
- Package version: 1.3.3
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-convert-api-client-1.3.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.3.3.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.3.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 'cloudmersive-convert-api-client', '~> 1.3.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.3.3'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -87,6 +87,8 @@ Class | Method | HTTP request | Description
|
|
87
87
|
------------ | ------------- | ------------- | -------------
|
88
88
|
*CloudmersiveConvertApiClient::CompareDocumentApi* | [**compare_document_docx**](docs/CompareDocumentApi.md#compare_document_docx) | **POST** /convert/compare/docx | Compare Two Word DOCX
|
89
89
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_csv_to_json**](docs/ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | CSV to JSON conversion
|
90
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xls_to_json**](docs/ConvertDataApi.md#convert_data_xls_to_json) | **POST** /convert/xls/to/json | Excel (97-2003) XLS to JSON conversion
|
91
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xlsx_to_json**](docs/ConvertDataApi.md#convert_data_xlsx_to_json) | **POST** /convert/xlsx/to/json | Excel XLSX to JSON conversion
|
90
92
|
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xml_to_json**](docs/ConvertDataApi.md#convert_data_xml_to_json) | **POST** /convert/xml/to/json | XML to JSON conversion
|
91
93
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_get_info**](docs/ConvertDocumentApi.md#convert_document_autodetect_get_info) | **POST** /convert/autodetect/get-info | Get document type information
|
92
94
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_pdf**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_pdf) | **POST** /convert/autodetect/to/pdf | Convert Document to PDF
|
data/docs/ConvertDataApi.md
CHANGED
@@ -5,6 +5,8 @@ All URIs are relative to *https://api.cloudmersive.com*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**convert_data_csv_to_json**](ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | CSV to JSON conversion
|
8
|
+
[**convert_data_xls_to_json**](ConvertDataApi.md#convert_data_xls_to_json) | **POST** /convert/xls/to/json | Excel (97-2003) XLS to JSON conversion
|
9
|
+
[**convert_data_xlsx_to_json**](ConvertDataApi.md#convert_data_xlsx_to_json) | **POST** /convert/xlsx/to/json | Excel XLSX to JSON conversion
|
8
10
|
[**convert_data_xml_to_json**](ConvertDataApi.md#convert_data_xml_to_json) | **POST** /convert/xml/to/json | XML to JSON conversion
|
9
11
|
|
10
12
|
|
@@ -62,6 +64,114 @@ Name | Type | Description | Notes
|
|
62
64
|
|
63
65
|
|
64
66
|
|
67
|
+
# **convert_data_xls_to_json**
|
68
|
+
> Object convert_data_xls_to_json(input_file)
|
69
|
+
|
70
|
+
Excel (97-2003) XLS to JSON conversion
|
71
|
+
|
72
|
+
Convert an Excel (97-2003) XLS file to a JSON object array
|
73
|
+
|
74
|
+
### Example
|
75
|
+
```ruby
|
76
|
+
# load the gem
|
77
|
+
require 'cloudmersive-convert-api-client'
|
78
|
+
# setup authorization
|
79
|
+
CloudmersiveConvertApiClient.configure do |config|
|
80
|
+
# Configure API key authorization: Apikey
|
81
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
82
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
83
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
87
|
+
|
88
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
89
|
+
|
90
|
+
|
91
|
+
begin
|
92
|
+
#Excel (97-2003) XLS to JSON conversion
|
93
|
+
result = api_instance.convert_data_xls_to_json(input_file)
|
94
|
+
p result
|
95
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
96
|
+
puts "Exception when calling ConvertDataApi->convert_data_xls_to_json: #{e}"
|
97
|
+
end
|
98
|
+
```
|
99
|
+
|
100
|
+
### Parameters
|
101
|
+
|
102
|
+
Name | Type | Description | Notes
|
103
|
+
------------- | ------------- | ------------- | -------------
|
104
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
105
|
+
|
106
|
+
### Return type
|
107
|
+
|
108
|
+
**Object**
|
109
|
+
|
110
|
+
### Authorization
|
111
|
+
|
112
|
+
[Apikey](../README.md#Apikey)
|
113
|
+
|
114
|
+
### HTTP request headers
|
115
|
+
|
116
|
+
- **Content-Type**: multipart/form-data
|
117
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
# **convert_data_xlsx_to_json**
|
122
|
+
> Object convert_data_xlsx_to_json(input_file)
|
123
|
+
|
124
|
+
Excel XLSX to JSON conversion
|
125
|
+
|
126
|
+
Convert an Excel XLSX file to a JSON object array
|
127
|
+
|
128
|
+
### Example
|
129
|
+
```ruby
|
130
|
+
# load the gem
|
131
|
+
require 'cloudmersive-convert-api-client'
|
132
|
+
# setup authorization
|
133
|
+
CloudmersiveConvertApiClient.configure do |config|
|
134
|
+
# Configure API key authorization: Apikey
|
135
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
136
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
137
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
138
|
+
end
|
139
|
+
|
140
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
141
|
+
|
142
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
143
|
+
|
144
|
+
|
145
|
+
begin
|
146
|
+
#Excel XLSX to JSON conversion
|
147
|
+
result = api_instance.convert_data_xlsx_to_json(input_file)
|
148
|
+
p result
|
149
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
150
|
+
puts "Exception when calling ConvertDataApi->convert_data_xlsx_to_json: #{e}"
|
151
|
+
end
|
152
|
+
```
|
153
|
+
|
154
|
+
### Parameters
|
155
|
+
|
156
|
+
Name | Type | Description | Notes
|
157
|
+
------------- | ------------- | ------------- | -------------
|
158
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
159
|
+
|
160
|
+
### Return type
|
161
|
+
|
162
|
+
**Object**
|
163
|
+
|
164
|
+
### Authorization
|
165
|
+
|
166
|
+
[Apikey](../README.md#Apikey)
|
167
|
+
|
168
|
+
### HTTP request headers
|
169
|
+
|
170
|
+
- **Content-Type**: multipart/form-data
|
171
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
172
|
+
|
173
|
+
|
174
|
+
|
65
175
|
# **convert_data_xml_to_json**
|
66
176
|
> Object convert_data_xml_to_json(input_file)
|
67
177
|
|
data/docs/ConvertImageApi.md
CHANGED
@@ -84,9 +84,9 @@ end
|
|
84
84
|
|
85
85
|
api_instance = CloudmersiveConvertApiClient::ConvertImageApi.new
|
86
86
|
|
87
|
-
format1 = "format1_example" # String | Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
87
|
+
format1 = "format1_example" # String | Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
88
88
|
|
89
|
-
format2 = "format2_example" # String | Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
89
|
+
format2 = "format2_example" # String | Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
90
90
|
|
91
91
|
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
92
92
|
|
@@ -104,8 +104,8 @@ end
|
|
104
104
|
|
105
105
|
Name | Type | Description | Notes
|
106
106
|
------------- | ------------- | ------------- | -------------
|
107
|
-
**format1** | **String**| Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
|
108
|
-
**format2** | **String**| Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
|
107
|
+
**format1** | **String**| Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
|
108
|
+
**format2** | **String**| Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
|
109
109
|
**input_file** | **File**| Input file to perform the operation on. |
|
110
110
|
|
111
111
|
### Return type
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version:
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -76,6 +76,118 @@ module CloudmersiveConvertApiClient
|
|
76
76
|
return data, status_code, headers
|
77
77
|
end
|
78
78
|
|
79
|
+
# Excel (97-2003) XLS to JSON conversion
|
80
|
+
# Convert an Excel (97-2003) XLS file to a JSON object array
|
81
|
+
# @param input_file Input file to perform the operation on.
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [Object]
|
84
|
+
def convert_data_xls_to_json(input_file, opts = {})
|
85
|
+
data, _status_code, _headers = convert_data_xls_to_json_with_http_info(input_file, opts)
|
86
|
+
return data
|
87
|
+
end
|
88
|
+
|
89
|
+
# Excel (97-2003) XLS to JSON conversion
|
90
|
+
# Convert an Excel (97-2003) XLS file to a JSON object array
|
91
|
+
# @param input_file Input file to perform the operation on.
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
94
|
+
def convert_data_xls_to_json_with_http_info(input_file, opts = {})
|
95
|
+
if @api_client.config.debugging
|
96
|
+
@api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xls_to_json ..."
|
97
|
+
end
|
98
|
+
# verify the required parameter 'input_file' is set
|
99
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
100
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xls_to_json"
|
101
|
+
end
|
102
|
+
# resource path
|
103
|
+
local_var_path = "/convert/xls/to/json"
|
104
|
+
|
105
|
+
# query parameters
|
106
|
+
query_params = {}
|
107
|
+
|
108
|
+
# header parameters
|
109
|
+
header_params = {}
|
110
|
+
# HTTP header 'Accept' (if needed)
|
111
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
112
|
+
# HTTP header 'Content-Type'
|
113
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
114
|
+
|
115
|
+
# form parameters
|
116
|
+
form_params = {}
|
117
|
+
form_params["inputFile"] = input_file
|
118
|
+
|
119
|
+
# http body (model)
|
120
|
+
post_body = nil
|
121
|
+
auth_names = ['Apikey']
|
122
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
123
|
+
:header_params => header_params,
|
124
|
+
:query_params => query_params,
|
125
|
+
:form_params => form_params,
|
126
|
+
:body => post_body,
|
127
|
+
:auth_names => auth_names,
|
128
|
+
:return_type => 'Object')
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xls_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
+
end
|
132
|
+
return data, status_code, headers
|
133
|
+
end
|
134
|
+
|
135
|
+
# Excel XLSX to JSON conversion
|
136
|
+
# Convert an Excel XLSX file to a JSON object array
|
137
|
+
# @param input_file Input file to perform the operation on.
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @return [Object]
|
140
|
+
def convert_data_xlsx_to_json(input_file, opts = {})
|
141
|
+
data, _status_code, _headers = convert_data_xlsx_to_json_with_http_info(input_file, opts)
|
142
|
+
return data
|
143
|
+
end
|
144
|
+
|
145
|
+
# Excel XLSX to JSON conversion
|
146
|
+
# Convert an Excel XLSX file to a JSON object array
|
147
|
+
# @param input_file Input file to perform the operation on.
|
148
|
+
# @param [Hash] opts the optional parameters
|
149
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
150
|
+
def convert_data_xlsx_to_json_with_http_info(input_file, opts = {})
|
151
|
+
if @api_client.config.debugging
|
152
|
+
@api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xlsx_to_json ..."
|
153
|
+
end
|
154
|
+
# verify the required parameter 'input_file' is set
|
155
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
156
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xlsx_to_json"
|
157
|
+
end
|
158
|
+
# resource path
|
159
|
+
local_var_path = "/convert/xlsx/to/json"
|
160
|
+
|
161
|
+
# query parameters
|
162
|
+
query_params = {}
|
163
|
+
|
164
|
+
# header parameters
|
165
|
+
header_params = {}
|
166
|
+
# HTTP header 'Accept' (if needed)
|
167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
168
|
+
# HTTP header 'Content-Type'
|
169
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
170
|
+
|
171
|
+
# form parameters
|
172
|
+
form_params = {}
|
173
|
+
form_params["inputFile"] = input_file
|
174
|
+
|
175
|
+
# http body (model)
|
176
|
+
post_body = nil
|
177
|
+
auth_names = ['Apikey']
|
178
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
179
|
+
:header_params => header_params,
|
180
|
+
:query_params => query_params,
|
181
|
+
:form_params => form_params,
|
182
|
+
:body => post_body,
|
183
|
+
:auth_names => auth_names,
|
184
|
+
:return_type => 'Object')
|
185
|
+
if @api_client.config.debugging
|
186
|
+
@api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xlsx_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
187
|
+
end
|
188
|
+
return data, status_code, headers
|
189
|
+
end
|
190
|
+
|
79
191
|
# XML to JSON conversion
|
80
192
|
# Convert an XML string or file into JSON
|
81
193
|
# @param input_file Input file to perform the operation on.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version:
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -78,8 +78,8 @@ module CloudmersiveConvertApiClient
|
|
78
78
|
|
79
79
|
# Image format conversion
|
80
80
|
# Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
|
81
|
-
# @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
82
|
-
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
81
|
+
# @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
82
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
83
83
|
# @param input_file Input file to perform the operation on.
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
85
|
# @return [String]
|
@@ -90,8 +90,8 @@ module CloudmersiveConvertApiClient
|
|
90
90
|
|
91
91
|
# Image format conversion
|
92
92
|
# Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
|
93
|
-
# @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
94
|
-
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
93
|
+
# @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
94
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
95
95
|
# @param input_file Input file to perform the operation on.
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|