MAP sample portlet usage scenario #11

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.

The setting defines a single system-wide URL that contains a watermarking image that may be overlaid on images.
<watermarking watermarkURL=''/>
By default, the attribute is empty. If the attribute is not set, the watermarking feature is turned off.

Generated output from scenario using the provided scenario and information

By default, these entries are placed into the ics-config.xml file.
<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




Terms of use
(C) Copyright IBM Corporation 2012. All Rights Reserved.