Sample: Apply watermark image service

This sample shows how to apply a watermark to every image returned from the export operation on an image service.
See Deploying extensions to learn how to deploy the extension to your server.

How to use

See How to use ArcGIS samples for help on running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/arcobjects/serverobjectinterceptors/ApplyWatermarkImageServiceSOI.

  1. Deploy ApplyWatermarkImageServiceSOI.soe to your server.
  2. Enable the SOI on an image service.
  3. Observe a watermark being added to all images returned from the service.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

soi/ The ApplyWatermarkSOI Java Server Object Interceptor Extension class.
lib/ApplyWatermarkImageServiceSOI.soe The deployable SOE file.