Image Web Service

Rationale

Images are very important part of modern live. The service provides easy image managing capabilities like to create thumbnails, crop image or apply effects (sepia, sketch, blur, emboss, etc) on the fly.


Before You Begin

In all requests a unique web service access key must be used. The key will be provided to you after you register for a plan.

The service supports both POST and GET requests. POST requests are highly recommended for security reasons.

The service provides response in JSON format. JSONP format also supported.


1. Create Thumbnail

Allows you to create a thumbnail of an image. Multiple options are supported

Endpoint

http://ws.sinevia.com/images/thumb

Options

Option Details
Token Your key token required to access this service
Url Url to the image to be converted to thumbnail
Width Width of thumbnail
Height Height of thumbnail
Best Fit Best fit thumbnail into the dimensions. No (Default) / Yes
Sepia Apply sepia effect. No (Default) / Yes
Sketch Apply sketch effect. No (Default) / Yes
Emboss Apply emboss effect. No (Default) / Yes
Blur Apply blur effect. No (Default) / Yes
Desaturate Apply desaturate effect. No (Default) / 1 to 100
Invert Apply invert effect. No (Default) / Yes

Example

Example

Original image

http://ws.sinevia.com/images/thumb?Url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F2%2F21%2FGornji_Orahovac%252C_Bosnia_y_Herzegovina%252C_2014-04-14%252C_DD_10-13_PAN.jpg&Width=200&Height=200&BestFit=Yes&Sepia=No&Sketch=No&Emboss=No&Blur=No&Desaturate=No&Invert=Yes&Token=Image_Demo
Test

Dynamic Example

Best Fit
Sepia
Sketch
Emboss
Blur
Desaturate
Inverse