Method: POST
Content Type: multipart/form-data
Request Body
Attribute | Type | Mandatory | Description |
---|
image | File | Yes | the source image file |
Response
Attribute | Type | Description |
---|
data.BitDepth | Integer | The bit depth of the image |
data.ColorType | String | The color type of the image |
data.Compression | String | The compression type for the image |
data.Directory | String | The directory for the image (not relevant) |
data.ExifToolVersion | Decimal | The exif version |
data.FileAccessDate | String | The timestamp when the file was accessed |
data.FileInodeChangeDate | String | The timestamp for the change date |
data.FileModifyDate | String | The timestamp when the file was modified |
data.FilePermissions | String | The permissions for the file (linux type) |
data.FileSize | String | The file size |
data.FileType | String | The file type |
data.FileTypeExtension | String | The file extension |
data.Filter | String | The filter for the image |
data.ImageHeight | Integer | The height of the image |
data.ImageWidth | Integer | The width of the image |
data.ImageSize | String | The height and the width of the image |
data.Interlace | String | The interlace for the image |
data.MIMEType | String | The mime type of the image |
data.Megapixels | String | Image megapixels |
data.SRGBRendering | String | The SRGBRendering for the image |
data.SourceFile | String | The Source file information |
Sample Response
HTTP Response Codes
The method may return one of the following HTTP status codes:
Status Code | Description |
---|
200 | The request was successful. |
401 | Required authentication information is either missing or not valid for the resource. |
400 | Invalid input - the image file is corrupt. |
500 | If any unexpected error occurs while processing the request. |