Rotate

Action rotate
Method GET
Parameters

key (text): Your private appspotimage key

img_id (text): A unique name to identify the image

new_img_id (text): A unique name to identify the modified image1

degree (int): The rotation degree, in multiples of 90

output_encoding (JPEG\PNG): Encoding with which the new image is generated

Result

Url of the stored image

Error (see Results)

Example Request:

http://imagetweaker.appspot.com/rotate?key=3scale-d54a9fc683b4478db987af955766bd7c&img_id=ex1&new_img_id=ex2&degree=90&output_encoding=PNG

Response:

http://imagetweaker.appspot.com/image/agxpbWFnZXR3ZWFrZXJyDgsSB1BpY3R1cmUY8QcM

Resultant Image:

1 The effect of using an existing identifier is the replacement of the previous image in the system
Functions