Socket
Socket
Sign inDemoInstall

cloudmersive-image-api-client

Package Overview
Dependencies
38
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.7 to 1.2.9

docs/ImageMetadata.md

216

docs/ConvertApi.md

@@ -7,7 +7,64 @@ # CloudmersiveImageApiClient.ConvertApi

------------- | ------------- | -------------
[**convertToBmp**](ConvertApi.md#convertToBmp) | **POST** /image/convert/to/bmp | Convert input image to Bitmap BMP format
[**convertToGif**](ConvertApi.md#convertToGif) | **POST** /image/convert/to/gif | Convert input image to GIF format
[**convertToJpg**](ConvertApi.md#convertToJpg) | **POST** /image/convert/to/jpg/{quality} | Convert input image to JPG/JPEG format
[**convertToPhotoshop**](ConvertApi.md#convertToPhotoshop) | **POST** /image/convert/to/psd | Convert input image to Photoshop PSD format
[**convertToPng**](ConvertApi.md#convertToPng) | **POST** /image/convert/to/png | Convert input image to PNG format
[**convertToTiff**](ConvertApi.md#convertToTiff) | **POST** /image/convert/to/tiff | Convert input image to TIFF format
[**convertToWebP**](ConvertApi.md#convertToWebP) | **POST** /image/convert/to/webp | Convert input image to WebP format
<a name="convertToBmp"></a>
# **convertToBmp**
> &#39;Blob&#39; convertToBmp(imageFile)
Convert input image to Bitmap BMP format
Converts the input image into PSD format. Supported input file 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.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.ConvertApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.convertToBmp(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
**&#39;Blob&#39;**
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/octet-stream
<a name="convertToGif"></a>

@@ -122,2 +179,55 @@ # **convertToGif**

<a name="convertToPhotoshop"></a>
# **convertToPhotoshop**
> &#39;Blob&#39; convertToPhotoshop(imageFile)
Convert input image to Photoshop PSD format
Converts the input image into PSD format. Supported input file 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.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.ConvertApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.convertToPhotoshop(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
**&#39;Blob&#39;**
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/octet-stream
<a name="convertToPng"></a>

@@ -176,1 +286,107 @@ # **convertToPng**

<a name="convertToTiff"></a>
# **convertToTiff**
> &#39;Blob&#39; convertToTiff(imageFile)
Convert input image to TIFF format
Converts the input image into TIFF format. Supported input file 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.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.ConvertApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.convertToTiff(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
**&#39;Blob&#39;**
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/octet-stream
<a name="convertToWebP"></a>
# **convertToWebP**
> &#39;Blob&#39; convertToWebP(imageFile)
Convert input image to WebP format
Converts the input image into WebP format. Supported input file 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.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.ConvertApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.convertToWebP(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
**&#39;Blob&#39;**
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/octet-stream

@@ -15,2 +15,3 @@ # CloudmersiveImageApiClient.EditApi

[**editDropShadow**](EditApi.md#editDropShadow) | **POST** /image/edit/drop-shadow/{X}/{Y}/{sigma}/{opacity} | Add a customizeable drop shadow to an image
[**editRemoveTransparency**](EditApi.md#editRemoveTransparency) | **POST** /image/edit/remove-transparency | Remove transparency from the image
[**editRotate**](EditApi.md#editRotate) | **POST** /image/edit/rotate/{degrees}/angle | Rotate an image any number of degrees

@@ -476,2 +477,55 @@

<a name="editRemoveTransparency"></a>
# **editRemoveTransparency**
> &#39;Blob&#39; editRemoveTransparency(imageFile)
Remove transparency from the image
Removes any active transparency in the image. Effectively renders the image at the same resolution, in the same file format, over a white background, thus removing transparency.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.EditApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.editRemoveTransparency(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
**&#39;Blob&#39;**
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/octet-stream
<a name="editRotate"></a>

@@ -478,0 +532,0 @@ # **editRotate**

@@ -8,2 +8,3 @@ # CloudmersiveImageApiClient.InfoApi

[**infoGetDominantColor**](InfoApi.md#infoGetDominantColor) | **POST** /image/get-info/dominant-color | Returns the dominant colors of the image
[**infoGetMetadata**](InfoApi.md#infoGetMetadata) | **POST** /image/get-info/metadata | Returns the image metadata, including EXIF and resolution

@@ -64,1 +65,54 @@

<a name="infoGetMetadata"></a>
# **infoGetMetadata**
> ImageMetadata infoGetMetadata(imageFile)
Returns the image metadata, including EXIF and resolution
Returns the metadata information on the image, including file type, EXIF (if available), and resolution.
### Example
```javascript
var CloudmersiveImageApiClient = require('cloudmersive-image-api-client');
var defaultClient = CloudmersiveImageApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.apiKeyPrefix = 'Token';
var apiInstance = new CloudmersiveImageApiClient.InfoApi();
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) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.infoGetMetadata(imageFile, callback);
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**imageFile** | **File**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. |
### Return type
[**ImageMetadata**](ImageMetadata.md)
### Authorization
[Apikey](../README.md#Apikey)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/json, text/json, application/xml, text/xml

2

package.json
{
"name": "cloudmersive-image-api-client",
"version": "1.2.7",
"version": "1.2.9",
"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.7
- Package version: 1.2.9

@@ -132,5 +132,9 @@

*CloudmersiveImageApiClient.ArtisticApi* | [**artisticPainting**](docs/ArtisticApi.md#artisticPainting) | **POST** /image/artistic/painting/{style} | Transform an image into an artistic painting automatically
*CloudmersiveImageApiClient.ConvertApi* | [**convertToBmp**](docs/ConvertApi.md#convertToBmp) | **POST** /image/convert/to/bmp | Convert input image to Bitmap BMP format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToGif**](docs/ConvertApi.md#convertToGif) | **POST** /image/convert/to/gif | Convert input image to GIF format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToJpg**](docs/ConvertApi.md#convertToJpg) | **POST** /image/convert/to/jpg/{quality} | Convert input image to JPG/JPEG format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToPhotoshop**](docs/ConvertApi.md#convertToPhotoshop) | **POST** /image/convert/to/psd | Convert input image to Photoshop PSD format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToPng**](docs/ConvertApi.md#convertToPng) | **POST** /image/convert/to/png | Convert input image to PNG format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToTiff**](docs/ConvertApi.md#convertToTiff) | **POST** /image/convert/to/tiff | Convert input image to TIFF format
*CloudmersiveImageApiClient.ConvertApi* | [**convertToWebP**](docs/ConvertApi.md#convertToWebP) | **POST** /image/convert/to/webp | Convert input image to WebP format
*CloudmersiveImageApiClient.EditApi* | [**editAutoOrient**](docs/EditApi.md#editAutoOrient) | **POST** /image/edit/auto-orient/remove-exif | Normalizes image rotation and removes EXIF rotation data

@@ -144,2 +148,3 @@ *CloudmersiveImageApiClient.EditApi* | [**editCompositeBasic**](docs/EditApi.md#editCompositeBasic) | **POST** /image/edit/composite/{location} | Composite two images together

*CloudmersiveImageApiClient.EditApi* | [**editDropShadow**](docs/EditApi.md#editDropShadow) | **POST** /image/edit/drop-shadow/{X}/{Y}/{sigma}/{opacity} | Add a customizeable drop shadow to an image
*CloudmersiveImageApiClient.EditApi* | [**editRemoveTransparency**](docs/EditApi.md#editRemoveTransparency) | **POST** /image/edit/remove-transparency | Remove transparency from the image
*CloudmersiveImageApiClient.EditApi* | [**editRotate**](docs/EditApi.md#editRotate) | **POST** /image/edit/rotate/{degrees}/angle | Rotate an image any number of degrees

@@ -162,2 +167,3 @@ *CloudmersiveImageApiClient.FaceApi* | [**faceCompare**](docs/FaceApi.md#faceCompare) | **POST** /image/face/compare-and-match | Compare and match faces

*CloudmersiveImageApiClient.InfoApi* | [**infoGetDominantColor**](docs/InfoApi.md#infoGetDominantColor) | **POST** /image/get-info/dominant-color | Returns the dominant colors of the image
*CloudmersiveImageApiClient.InfoApi* | [**infoGetMetadata**](docs/InfoApi.md#infoGetMetadata) | **POST** /image/get-info/metadata | Returns the image metadata, including EXIF and resolution
*CloudmersiveImageApiClient.NsfwApi* | [**nsfwClassify**](docs/NsfwApi.md#nsfwClassify) | **POST** /image/nsfw/classify | Not safe for work (NSFW) racy content classification

@@ -201,2 +207,4 @@ *CloudmersiveImageApiClient.RecognizeApi* | [**recognizeDescribe**](docs/RecognizeApi.md#recognizeDescribe) | **POST** /image/recognize/describe | Describe an image in natural language

- [CloudmersiveImageApiClient.ImageDescriptionResponse](docs/ImageDescriptionResponse.md)
- [CloudmersiveImageApiClient.ImageMetadata](docs/ImageMetadata.md)
- [CloudmersiveImageApiClient.ImageMetadataExifValue](docs/ImageMetadataExifValue.md)
- [CloudmersiveImageApiClient.NsfwResult](docs/NsfwResult.md)

@@ -203,0 +211,0 @@ - [CloudmersiveImageApiClient.ObjectDetectionResult](docs/ObjectDetectionResult.md)

@@ -36,3 +36,3 @@ /**

* @module api/ArtisticApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/ConvertApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -52,2 +52,50 @@

/**
* Callback function to receive the result of the convertToBmp operation.
* @callback module:api/ConvertApi~convertToBmpCallback
* @param {String} error Error message, if any.
* @param {'Blob'} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Convert input image to Bitmap BMP format
* Converts the input image into PSD format. Supported input file 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.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/ConvertApi~convertToBmpCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link 'Blob'}
*/
this.convertToBmp = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling convertToBmp");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/octet-stream'];
var returnType = 'Blob';
return this.apiClient.callApi(
'/image/convert/to/bmp', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
/**
* Callback function to receive the result of the convertToGif operation.

@@ -156,2 +204,50 @@ * @callback module:api/ConvertApi~convertToGifCallback

/**
* Callback function to receive the result of the convertToPhotoshop operation.
* @callback module:api/ConvertApi~convertToPhotoshopCallback
* @param {String} error Error message, if any.
* @param {'Blob'} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Convert input image to Photoshop PSD format
* Converts the input image into PSD format. Supported input file 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.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/ConvertApi~convertToPhotoshopCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link 'Blob'}
*/
this.convertToPhotoshop = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling convertToPhotoshop");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/octet-stream'];
var returnType = 'Blob';
return this.apiClient.callApi(
'/image/convert/to/psd', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
/**
* Callback function to receive the result of the convertToPng operation.

@@ -203,2 +299,98 @@ * @callback module:api/ConvertApi~convertToPngCallback

}
/**
* Callback function to receive the result of the convertToTiff operation.
* @callback module:api/ConvertApi~convertToTiffCallback
* @param {String} error Error message, if any.
* @param {'Blob'} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Convert input image to TIFF format
* Converts the input image into TIFF format. Supported input file 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.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/ConvertApi~convertToTiffCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link 'Blob'}
*/
this.convertToTiff = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling convertToTiff");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/octet-stream'];
var returnType = 'Blob';
return this.apiClient.callApi(
'/image/convert/to/tiff', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
/**
* Callback function to receive the result of the convertToWebP operation.
* @callback module:api/ConvertApi~convertToWebPCallback
* @param {String} error Error message, if any.
* @param {'Blob'} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Convert input image to WebP format
* Converts the input image into WebP format. Supported input file 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.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/ConvertApi~convertToWebPCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link 'Blob'}
*/
this.convertToWebP = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling convertToWebP");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/octet-stream'];
var returnType = 'Blob';
return this.apiClient.callApi(
'/image/convert/to/webp', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
};

@@ -205,0 +397,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/EditApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -510,2 +510,50 @@

/**
* Callback function to receive the result of the editRemoveTransparency operation.
* @callback module:api/EditApi~editRemoveTransparencyCallback
* @param {String} error Error message, if any.
* @param {'Blob'} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Remove transparency from the image
* Removes any active transparency in the image. Effectively renders the image at the same resolution, in the same file format, over a white background, thus removing transparency.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/EditApi~editRemoveTransparencyCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link 'Blob'}
*/
this.editRemoveTransparency = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling editRemoveTransparency");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/octet-stream'];
var returnType = 'Blob';
return this.apiClient.callApi(
'/image/edit/remove-transparency', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
/**
* Callback function to receive the result of the editRotate operation.

@@ -512,0 +560,0 @@ * @callback module:api/EditApi~editRotateCallback

@@ -36,3 +36,3 @@ /**

* @module api/FaceApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/FilterApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -19,6 +19,6 @@ /**

// AMD. Register as an anonymous module.
define(['ApiClient', 'model/DominantColorResult'], factory);
define(['ApiClient', 'model/DominantColorResult', 'model/ImageMetadata'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'), require('../model/DominantColorResult'));
module.exports = factory(require('../ApiClient'), require('../model/DominantColorResult'), require('../model/ImageMetadata'));
} else {

@@ -29,5 +29,5 @@ // Browser globals (root is window)

}
root.CloudmersiveImageApiClient.InfoApi = factory(root.CloudmersiveImageApiClient.ApiClient, root.CloudmersiveImageApiClient.DominantColorResult);
root.CloudmersiveImageApiClient.InfoApi = factory(root.CloudmersiveImageApiClient.ApiClient, root.CloudmersiveImageApiClient.DominantColorResult, root.CloudmersiveImageApiClient.ImageMetadata);
}
}(this, function(ApiClient, DominantColorResult) {
}(this, function(ApiClient, DominantColorResult, ImageMetadata) {
'use strict';

@@ -38,3 +38,3 @@

* @module api/InfoApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -100,2 +100,50 @@

}
/**
* Callback function to receive the result of the infoGetMetadata operation.
* @callback module:api/InfoApi~infoGetMetadataCallback
* @param {String} error Error message, if any.
* @param {module:model/ImageMetadata} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/
/**
* Returns the image metadata, including EXIF and resolution
* Returns the metadata information on the image, including file type, EXIF (if available), and resolution.
* @param {File} imageFile Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
* @param {module:api/InfoApi~infoGetMetadataCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/ImageMetadata}
*/
this.infoGetMetadata = function(imageFile, callback) {
var postBody = null;
// verify the required parameter 'imageFile' is set
if (imageFile === undefined || imageFile === null) {
throw new Error("Missing the required parameter 'imageFile' when calling infoGetMetadata");
}
var pathParams = {
};
var queryParams = {
};
var collectionQueryParams = {
};
var headerParams = {
};
var formParams = {
'imageFile': imageFile
};
var authNames = ['Apikey'];
var contentTypes = ['multipart/form-data'];
var accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
var returnType = ImageMetadata;
return this.apiClient.callApi(
'/image/get-info/metadata', 'POST',
pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
}
};

@@ -102,0 +150,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/NsfwApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/RecognizeApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -36,3 +36,3 @@ /**

* @module api/ResizeApi
* @version 1.2.7
* @version 1.2.9
*/

@@ -39,0 +39,0 @@

@@ -35,3 +35,3 @@ /**

* @module ApiClient
* @version 1.2.7
* @version 1.2.9
*/

@@ -38,0 +38,0 @@

@@ -19,8 +19,8 @@ /**

// AMD. Register as an anonymous module.
define(['ApiClient', 'model/AgeDetectionResult', 'model/ColorResult', 'model/DetectedLicensePlate', 'model/DetectedObject', 'model/DominantColorResult', 'model/DrawPolygonInstance', 'model/DrawPolygonRequest', 'model/DrawRectangleInstance', 'model/DrawRectangleRequest', 'model/DrawTextInstance', 'model/DrawTextRequest', 'model/Face', 'model/FaceCompareResponse', 'model/FaceLocateResponse', 'model/FaceLocateWithLandmarksResponse', 'model/FaceMatch', 'model/FacePoint', 'model/FaceWithLandmarks', 'model/FindSymbolResult', 'model/FineTextDetectionResult', 'model/FineTextItem', 'model/GenderDetectionResult', 'model/ImageDescriptionResponse', 'model/NsfwResult', 'model/ObjectDetectionResult', 'model/PersonWithAge', 'model/PersonWithGender', 'model/PolygonPoint', 'model/RecognitionOutcome', 'model/TextDetectionResult', 'model/TextItem', 'model/VehicleLicensePlateDetectionResult', 'api/ArtisticApi', 'api/ConvertApi', 'api/EditApi', 'api/FaceApi', 'api/FilterApi', 'api/InfoApi', 'api/NsfwApi', 'api/RecognizeApi', 'api/ResizeApi'], factory);
define(['ApiClient', 'model/AgeDetectionResult', 'model/ColorResult', 'model/DetectedLicensePlate', 'model/DetectedObject', 'model/DominantColorResult', 'model/DrawPolygonInstance', 'model/DrawPolygonRequest', 'model/DrawRectangleInstance', 'model/DrawRectangleRequest', 'model/DrawTextInstance', 'model/DrawTextRequest', 'model/Face', 'model/FaceCompareResponse', 'model/FaceLocateResponse', 'model/FaceLocateWithLandmarksResponse', 'model/FaceMatch', 'model/FacePoint', 'model/FaceWithLandmarks', 'model/FindSymbolResult', 'model/FineTextDetectionResult', 'model/FineTextItem', 'model/GenderDetectionResult', 'model/ImageDescriptionResponse', 'model/ImageMetadata', 'model/ImageMetadataExifValue', 'model/NsfwResult', 'model/ObjectDetectionResult', 'model/PersonWithAge', 'model/PersonWithGender', 'model/PolygonPoint', 'model/RecognitionOutcome', 'model/TextDetectionResult', 'model/TextItem', 'model/VehicleLicensePlateDetectionResult', 'api/ArtisticApi', 'api/ConvertApi', 'api/EditApi', 'api/FaceApi', 'api/FilterApi', 'api/InfoApi', 'api/NsfwApi', 'api/RecognizeApi', 'api/ResizeApi'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('./ApiClient'), require('./model/AgeDetectionResult'), require('./model/ColorResult'), require('./model/DetectedLicensePlate'), require('./model/DetectedObject'), require('./model/DominantColorResult'), require('./model/DrawPolygonInstance'), require('./model/DrawPolygonRequest'), require('./model/DrawRectangleInstance'), require('./model/DrawRectangleRequest'), require('./model/DrawTextInstance'), require('./model/DrawTextRequest'), require('./model/Face'), require('./model/FaceCompareResponse'), require('./model/FaceLocateResponse'), require('./model/FaceLocateWithLandmarksResponse'), require('./model/FaceMatch'), require('./model/FacePoint'), require('./model/FaceWithLandmarks'), require('./model/FindSymbolResult'), require('./model/FineTextDetectionResult'), require('./model/FineTextItem'), require('./model/GenderDetectionResult'), require('./model/ImageDescriptionResponse'), require('./model/NsfwResult'), require('./model/ObjectDetectionResult'), require('./model/PersonWithAge'), require('./model/PersonWithGender'), require('./model/PolygonPoint'), require('./model/RecognitionOutcome'), require('./model/TextDetectionResult'), require('./model/TextItem'), require('./model/VehicleLicensePlateDetectionResult'), require('./api/ArtisticApi'), require('./api/ConvertApi'), require('./api/EditApi'), require('./api/FaceApi'), require('./api/FilterApi'), require('./api/InfoApi'), require('./api/NsfwApi'), require('./api/RecognizeApi'), require('./api/ResizeApi'));
module.exports = factory(require('./ApiClient'), require('./model/AgeDetectionResult'), require('./model/ColorResult'), require('./model/DetectedLicensePlate'), require('./model/DetectedObject'), require('./model/DominantColorResult'), require('./model/DrawPolygonInstance'), require('./model/DrawPolygonRequest'), require('./model/DrawRectangleInstance'), require('./model/DrawRectangleRequest'), require('./model/DrawTextInstance'), require('./model/DrawTextRequest'), require('./model/Face'), require('./model/FaceCompareResponse'), require('./model/FaceLocateResponse'), require('./model/FaceLocateWithLandmarksResponse'), require('./model/FaceMatch'), require('./model/FacePoint'), require('./model/FaceWithLandmarks'), require('./model/FindSymbolResult'), require('./model/FineTextDetectionResult'), require('./model/FineTextItem'), require('./model/GenderDetectionResult'), require('./model/ImageDescriptionResponse'), require('./model/ImageMetadata'), require('./model/ImageMetadataExifValue'), require('./model/NsfwResult'), require('./model/ObjectDetectionResult'), require('./model/PersonWithAge'), require('./model/PersonWithGender'), require('./model/PolygonPoint'), require('./model/RecognitionOutcome'), require('./model/TextDetectionResult'), require('./model/TextItem'), require('./model/VehicleLicensePlateDetectionResult'), require('./api/ArtisticApi'), require('./api/ConvertApi'), require('./api/EditApi'), require('./api/FaceApi'), require('./api/FilterApi'), require('./api/InfoApi'), require('./api/NsfwApi'), require('./api/RecognizeApi'), require('./api/ResizeApi'));
}
}(function(ApiClient, AgeDetectionResult, ColorResult, DetectedLicensePlate, DetectedObject, DominantColorResult, DrawPolygonInstance, DrawPolygonRequest, DrawRectangleInstance, DrawRectangleRequest, DrawTextInstance, DrawTextRequest, Face, FaceCompareResponse, FaceLocateResponse, FaceLocateWithLandmarksResponse, FaceMatch, FacePoint, FaceWithLandmarks, FindSymbolResult, FineTextDetectionResult, FineTextItem, GenderDetectionResult, ImageDescriptionResponse, NsfwResult, ObjectDetectionResult, PersonWithAge, PersonWithGender, PolygonPoint, RecognitionOutcome, TextDetectionResult, TextItem, VehicleLicensePlateDetectionResult, ArtisticApi, ConvertApi, EditApi, FaceApi, FilterApi, InfoApi, NsfwApi, RecognizeApi, ResizeApi) {
}(function(ApiClient, AgeDetectionResult, ColorResult, DetectedLicensePlate, DetectedObject, DominantColorResult, DrawPolygonInstance, DrawPolygonRequest, DrawRectangleInstance, DrawRectangleRequest, DrawTextInstance, DrawTextRequest, Face, FaceCompareResponse, FaceLocateResponse, FaceLocateWithLandmarksResponse, FaceMatch, FacePoint, FaceWithLandmarks, FindSymbolResult, FineTextDetectionResult, FineTextItem, GenderDetectionResult, ImageDescriptionResponse, ImageMetadata, ImageMetadataExifValue, NsfwResult, ObjectDetectionResult, PersonWithAge, PersonWithGender, PolygonPoint, RecognitionOutcome, TextDetectionResult, TextItem, VehicleLicensePlateDetectionResult, ArtisticApi, ConvertApi, EditApi, FaceApi, FilterApi, InfoApi, NsfwApi, RecognizeApi, ResizeApi) {
'use strict';

@@ -57,3 +57,3 @@

* @module index
* @version 1.2.7
* @version 1.2.9
*/

@@ -182,2 +182,12 @@ var exports = {

/**
* The ImageMetadata model constructor.
* @property {module:model/ImageMetadata}
*/
ImageMetadata: ImageMetadata,
/**
* The ImageMetadataExifValue model constructor.
* @property {module:model/ImageMetadataExifValue}
*/
ImageMetadataExifValue: ImageMetadataExifValue,
/**
* The NsfwResult model constructor.

@@ -184,0 +194,0 @@ * @property {module:model/NsfwResult}

@@ -39,3 +39,3 @@ /**

* @module model/AgeDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/ColorResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DetectedLicensePlate
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DetectedObject
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DominantColorResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawPolygonInstance
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawPolygonRequest
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawRectangleInstance
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawRectangleRequest
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawTextInstance
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/DrawTextRequest
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/Face
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FaceCompareResponse
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FaceLocateResponse
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FaceLocateWithLandmarksResponse
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FaceMatch
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FacePoint
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FaceWithLandmarks
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FindSymbolResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FineTextDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/FineTextItem
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/GenderDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/ImageDescriptionResponse
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/NsfwResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/ObjectDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/PersonWithAge
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/PersonWithGender
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/PolygonPoint
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/RecognitionOutcome
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/TextDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/TextItem
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -39,3 +39,3 @@ /**

* @module model/VehicleLicensePlateDetectionResult
* @version 1.2.7
* @version 1.2.9
*/

@@ -42,0 +42,0 @@

@@ -53,2 +53,12 @@ /**

describe('ConvertApi', function() {
describe('convertToBmp', function() {
it('should call convertToBmp successfully', function(done) {
//uncomment below and update the code to test convertToBmp
//instance.convertToBmp(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('convertToGif', function() {

@@ -74,2 +84,12 @@ it('should call convertToGif successfully', function(done) {

});
describe('convertToPhotoshop', function() {
it('should call convertToPhotoshop successfully', function(done) {
//uncomment below and update the code to test convertToPhotoshop
//instance.convertToPhotoshop(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('convertToPng', function() {

@@ -85,4 +105,24 @@ it('should call convertToPng successfully', function(done) {

});
describe('convertToTiff', function() {
it('should call convertToTiff successfully', function(done) {
//uncomment below and update the code to test convertToTiff
//instance.convertToTiff(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('convertToWebP', function() {
it('should call convertToWebP successfully', function(done) {
//uncomment below and update the code to test convertToWebP
//instance.convertToWebP(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
});
}));

@@ -133,2 +133,12 @@ /**

});
describe('editRemoveTransparency', function() {
it('should call editRemoveTransparency successfully', function(done) {
//uncomment below and update the code to test editRemoveTransparency
//instance.editRemoveTransparency(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('editRotate', function() {

@@ -135,0 +145,0 @@ it('should call editRotate successfully', function(done) {

@@ -63,4 +63,14 @@ /**

});
describe('infoGetMetadata', function() {
it('should call infoGetMetadata successfully', function(done) {
//uncomment below and update the code to test infoGetMetadata
//instance.infoGetMetadata(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
});
}));
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc