In this scenario, the MAP sample portlet is used to embed a watermark by setting the watermarkURL attribute on the watermark element in the configuration file (ics-config.xml) for MAP.
A watermark can be embedded by setting the watermarkURL attribute on the watermark element. If the device can display the image without transcoding, the image is sent directly to the target device with no watermarking applied.
<watermarking watermarkURL=''/>
By
default, the attribute is empty. If the attribute is not set, the
watermarking feature is turned off.<transcodingServer>
<image jpegFormat='baseline' gifSupport='true'>
<environment serverMode='native'
maxRedirects="5"
useInMemoryChache='true' />
<scaling scaleMode='bilinear' scaleLarger='true'/>
<dithering>
<dither bitDepth='1' mode='floyd-steinberg'/>
<dither bitDepth='2' mode='ordered-dither'/>
<dither bitDepth='4' mode='stucki'/>
<dither bitDepth='8' mode='jarvis'/>
<dither bitDepth='16' mode='floyd-steinberg'/>
</dithering>
<compression qualityMin='50' paletteMin='4'/>
<watermarking watermarkURL=''/>
</image>
</transcodingServer>
You can view the watermark image by clicking the Watermark link in the MAP sample portlet