Our Application Programming Interfaces (API's)
TAD Photo Protection prides itself on being one of the very few online watermarking solutions that offer API's that will watermark images at client upload time. Clients get their images watermarked as they upload to their website ensuring that they are protected from the moment of upload.
We have a few different API's you can use to watermark images, depending on the level of integration required. We are also happy to work with you if you have any custom integration requirements.
PHP API:
We give you a .php file to "include_once" in your code. If you have problems uploading to your webserver don't worry because you can do a URL include of https://photoprotection.forbrains.com/photoprotection-api.php instead.
Then a simple call to the function "PhotoProtection_Protect" returns your watermarked image - REALLY simple.
function PhotoProtection_Protect( |
$LocalUnprotectedImage | - | the full path (on your server) of the image to be protected |
,$ResellerAccountNo | - | your reseller account number (provided to you) |
,$ClientAccountNo | - | your acount number |
,$PCode | - | your account transaction password |
,$ProfileID | - | the watermarking profile method defined in your account you want to use |
,$LocalProtectedImage = "" | - | full path to where the watermarked image is to be written. If left blank the image is returned from the function call |
) |
POST API:
You can use a simple HTML web form like https://photoprotection.forbrains.com/watermarkit.php to "post" the data to us.
This is the simplest way to produce an manual online watermarking solution - REALLY simple.
You don't need a webserver to use this method, just any internet enabled computer or mobile phone.