cloudmersive-image-api-client
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -10,4 +10,4 @@ # CloudmersiveImageApiClient.EditApi | ||
[**editContrastAdaptive**](EditApi.md#editContrastAdaptive) | **POST** /image/edit/contrast/{gamma}/adaptive | Adaptively adjust the contrast of the image to be more appealing and easy to see | ||
[**editDrawPolygon**](EditApi.md#editDrawPolygon) | **POST** /image/edit/draw/polygon | Draw polygon onto an image | ||
[**editDrawRectangle**](EditApi.md#editDrawRectangle) | **POST** /image/edit/draw/rectangle | Draw rectangle onto an image | ||
[**editDrawPolygon**](EditApi.md#editDrawPolygon) | **POST** /image/edit/draw/polygon | Draw a polygon onto an image | ||
[**editDrawRectangle**](EditApi.md#editDrawRectangle) | **POST** /image/edit/draw/rectangle | Draw a rectangle onto an image | ||
[**editDrawText**](EditApi.md#editDrawText) | **POST** /image/edit/draw/text | Draw text onto an image | ||
@@ -187,5 +187,5 @@ [**editRotate**](EditApi.md#editRotate) | **POST** /image/edit/rotate/{degrees}/angle | Rotate an image any number of degrees | ||
# **editDrawPolygon** | ||
> Object editDrawPolygon(request) | ||
> 'Blob' editDrawPolygon(request) | ||
Draw polygon onto an image | ||
Draw a polygon onto an image | ||
@@ -228,3 +228,3 @@ Draw one or more polygons, with customized visuals, onto an image | ||
**Object** | ||
**'Blob'** | ||
@@ -244,3 +244,3 @@ ### Authorization | ||
Draw rectangle onto an image | ||
Draw a rectangle onto an image | ||
@@ -349,3 +349,3 @@ Draw one or more rectangles, with customized visuals, onto an image | ||
# **editRotate** | ||
> Object editRotate(degrees) | ||
> 'Blob' editRotate(degrees, imageFile) | ||
@@ -371,3 +371,5 @@ Rotate an image any number of degrees | ||
var imageFile = "/path/to/file.txt"; // File | Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. | ||
var callback = function(error, data, response) { | ||
@@ -380,3 +382,3 @@ if (error) { | ||
}; | ||
apiInstance.editRotate(degrees, callback); | ||
apiInstance.editRotate(degrees, imageFile, callback); | ||
``` | ||
@@ -389,6 +391,7 @@ | ||
**degrees** | **Number**| Degrees to rotate the image; values range from 0.0 to 360.0. | | ||
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. | | ||
### Return type | ||
**Object** | ||
**'Blob'** | ||
@@ -401,4 +404,4 @@ ### Authorization | ||
- **Content-Type**: Not defined | ||
- **Content-Type**: multipart/form-data | ||
- **Accept**: application/octet-stream | ||
{ | ||
"name": "cloudmersive-image-api-client", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Image_Recognition_and_Processing_APIs_let_you_use_Machine_Learning_to_recognize_and_process_images_and_also_perform_useful_image_modification_operations_", | ||
@@ -5,0 +5,0 @@ "license": "Unlicense", |
@@ -8,3 +8,3 @@ # cloudmersive-image-api-client | ||
- API version: v1 | ||
- Package version: 1.2.1 | ||
- Package version: 1.2.2 | ||
@@ -135,4 +135,4 @@ | ||
*CloudmersiveImageApiClient.EditApi* | [**editContrastAdaptive**](docs/EditApi.md#editContrastAdaptive) | **POST** /image/edit/contrast/{gamma}/adaptive | Adaptively adjust the contrast of the image to be more appealing and easy to see | ||
*CloudmersiveImageApiClient.EditApi* | [**editDrawPolygon**](docs/EditApi.md#editDrawPolygon) | **POST** /image/edit/draw/polygon | Draw polygon onto an image | ||
*CloudmersiveImageApiClient.EditApi* | [**editDrawRectangle**](docs/EditApi.md#editDrawRectangle) | **POST** /image/edit/draw/rectangle | Draw rectangle onto an image | ||
*CloudmersiveImageApiClient.EditApi* | [**editDrawPolygon**](docs/EditApi.md#editDrawPolygon) | **POST** /image/edit/draw/polygon | Draw a polygon onto an image | ||
*CloudmersiveImageApiClient.EditApi* | [**editDrawRectangle**](docs/EditApi.md#editDrawRectangle) | **POST** /image/edit/draw/rectangle | Draw a rectangle onto an image | ||
*CloudmersiveImageApiClient.EditApi* | [**editDrawText**](docs/EditApi.md#editDrawText) | **POST** /image/edit/draw/text | Draw text onto an image | ||
@@ -139,0 +139,0 @@ *CloudmersiveImageApiClient.EditApi* | [**editRotate**](docs/EditApi.md#editRotate) | **POST** /image/edit/rotate/{degrees}/angle | Rotate an image any number of degrees |
@@ -36,3 +36,3 @@ /** | ||
* @module api/ArtisticApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -39,0 +39,0 @@ |
@@ -36,3 +36,3 @@ /** | ||
* @module api/EditApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -220,3 +220,3 @@ | ||
* @param {String} error Error message, if any. | ||
* @param {Object} data The data returned by the service call. | ||
* @param {'Blob'} data The data returned by the service call. | ||
* @param {String} response The complete HTTP response. | ||
@@ -226,7 +226,7 @@ */ | ||
/** | ||
* Draw polygon onto an image | ||
* Draw a polygon onto an image | ||
* Draw one or more polygons, with customized visuals, onto an image | ||
* @param {module:model/DrawPolygonRequest} request | ||
* @param {module:api/EditApi~editDrawPolygonCallback} callback The callback function, accepting three arguments: error, data, response | ||
* data is of type: {@link Object} | ||
* data is of type: {@link 'Blob'} | ||
*/ | ||
@@ -256,3 +256,3 @@ this.editDrawPolygon = function(request, callback) { | ||
var accepts = ['image/png']; | ||
var returnType = Object; | ||
var returnType = 'Blob'; | ||
@@ -275,3 +275,3 @@ return this.apiClient.callApi( | ||
/** | ||
* Draw rectangle onto an image | ||
* Draw a rectangle onto an image | ||
* Draw one or more rectangles, with customized visuals, onto an image | ||
@@ -365,3 +365,3 @@ * @param {module:model/DrawRectangleRequest} request | ||
* @param {String} error Error message, if any. | ||
* @param {Object} data The data returned by the service call. | ||
* @param {'Blob'} data The data returned by the service call. | ||
* @param {String} response The complete HTTP response. | ||
@@ -374,6 +374,7 @@ */ | ||
* @param {Number} degrees Degrees to rotate the image; values range from 0.0 to 360.0. | ||
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. | ||
* @param {module:api/EditApi~editRotateCallback} callback The callback function, accepting three arguments: error, data, response | ||
* data is of type: {@link Object} | ||
* data is of type: {@link 'Blob'} | ||
*/ | ||
this.editRotate = function(degrees, callback) { | ||
this.editRotate = function(degrees, imageFile, callback) { | ||
var postBody = null; | ||
@@ -386,3 +387,8 @@ | ||
// verify the required parameter 'imageFile' is set | ||
if (imageFile === undefined || imageFile === null) { | ||
throw new Error("Missing the required parameter 'imageFile' when calling editRotate"); | ||
} | ||
var pathParams = { | ||
@@ -398,8 +404,9 @@ 'degrees': degrees | ||
var formParams = { | ||
'imageFile': imageFile | ||
}; | ||
var authNames = ['Apikey']; | ||
var contentTypes = []; | ||
var contentTypes = ['multipart/form-data']; | ||
var accepts = ['application/octet-stream']; | ||
var returnType = Object; | ||
var returnType = 'Blob'; | ||
@@ -406,0 +413,0 @@ return this.apiClient.callApi( |
@@ -36,3 +36,3 @@ /** | ||
* @module api/FaceApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -39,0 +39,0 @@ |
@@ -36,3 +36,3 @@ /** | ||
* @module api/NsfwApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -39,0 +39,0 @@ |
@@ -36,3 +36,3 @@ /** | ||
* @module api/RecognizeApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -39,0 +39,0 @@ |
@@ -36,3 +36,3 @@ /** | ||
* @module api/ResizeApi | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -39,0 +39,0 @@ |
@@ -35,3 +35,3 @@ /** | ||
* @module ApiClient | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -38,0 +38,0 @@ |
@@ -56,3 +56,3 @@ /** | ||
* @module index | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -59,0 +59,0 @@ var exports = { |
@@ -39,3 +39,3 @@ /** | ||
* @module model/AgeDetectionResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DetectedLicensePlate | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DetectedObject | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawPolygonInstance | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawPolygonRequest | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawRectangleInstance | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawRectangleRequest | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawTextInstance | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/DrawTextRequest | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/Face | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FaceCompareResponse | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FaceLocateResponse | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FaceLocateWithLandmarksResponse | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FaceMatch | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FacePoint | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FaceWithLandmarks | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FineTextDetectionResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/FineTextItem | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/ImageDescriptionResponse | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/NsfwResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/ObjectDetectionResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/PersonWithAge | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/PolygonPoint | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/RecognitionOutcome | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/TextDetectionResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/TextItem | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
* @module model/VehicleLicensePlateDetectionResult | ||
* @version 1.2.1 | ||
* @version 1.2.2 | ||
*/ | ||
@@ -42,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
364215
7180