Home PageZoomable PhotosEditing PlatformPhoto TransformationLicensingContact Us
Coin Photos Web Based Zoom Renderer
Dynamic Photo Transformations
Photos can be requested directly for direct inclusion into your website with a variety of transformation including resizing, rotating, cropping and background colour changes.
Syntax
/<setID>/<setIndex>/<bgcolor>|original.jpg/<w>x<h>[x<r>x<crop>]/<ps>/<cx>x<cy>.jpg|<w>x<h>[x<r>x<crop>].jpg
-
setID = this is the image set ID of the photo you're requesting
-
setIndex = this is the index of the particular photo within the image set
-
bgcolor = this is the background colour of the photo as specified by a 24bit, 3 channel decimal number in RGB format. This can be calculated by reversing the three channels of a HEX colour (e.g. EF3600 becomes 0036EF then converting it to decimal [14063]).
-
w = the width in pixels the photo is desired in
-
h = the height in pixels the photo is desired in
-
r = the rotation (in degrees) that the photo is desired in
-
crop = the shape of the crop to be performed on the image
- 0 = rectangular
- 1 = circle
- 2 = rounded rectangle
- 3 = rounded diamond
- n>3 = polygon of n sides
-
ps = dimension size in pixels of the partial square segment of the photo you desire
-
cx = x co-ordinate in pixels of the centre of the partial square segment you desire
-
cy = y co-ordinate in pixels of the centre of the partial square segment you desire
Example 1
E.g. to get the first photo in set 22262 sized 400x400 with a white background you'd call:
https://img.numistip.com/22262/0/16777215/400x400.jpg
Example 2
E.g. to get a 400x400 segment of that green spot on the coin with an original size of 2400x2400 you'd call:
https://img.numistip.com/22262/0/16777215/2400x2400/400/200x750.jpg