TRYNT Image Snapshot Web Service

The TRYNT Image Snapshot Web Service takes a "snapshot" of a user defined area of an image (jpeg or png). This web service emulates a key feature of Backpack's image management.

If you use this free TRYNT API/Web Service you must provide proper attribution to comply with our terms of service.

Request URL

http://www.trynt.com/image-snapshot-api/v1/

Request parameters


Parameter Value Description
u string (required) Image URL
w integer (optional) Output image width
h integer (optional) Output image height
r integer (optional) Should we resize the image (0/1)
rs integer (optional) Resize scale 1-100
p integer (string) Position (center (default), random, topleft, topright, bottomleft, bottomright)
cx integer (optional) Percentage of the custom position along the X scale. Position must be 'custom' for this to apply
cy integer (optional) Percentage of the custom position along the Y scale. Position must be 'custom' for this to apply
c integer (optional) Compression percentage
f integer (optional) Flush the image cache

Sample Request (URL: http://www.trynt.com/image-snapshot-api/v1/):