/
Thumbnail Metacard Transformer

Thumbnail Metacard Transformer

Description

The Thumbnail Metacard Transformer retrieves the thumbnail bytes of a Metacard by returning the Metacard.THUMBNAIL attribute value.

Usage

Endpoints or other components can retrieve an instance of the Thumbnail Metacard Transformer using its id thumbnail.

Sample Blueprint Reference Snippet
 <reference id="metacardTransformer" interface="ddf.catalog.transform.MetacardTransformer" filter="(id=thumbnail)"/>


The Thumbnail Metacard Transformer returns a BinaryContent object of the Metacard.THUMBNAIL bytes and a MIME Type of image/jpeg.

Installation and Uninstallation

This transformer is installed out of the box. To uninstall the transformer, you must stop or uninstall the bundle.

Configuration

None

Implementation Details

Service PropertyValue
idthumbnail
shortnamethumbnail
mime-typeimage/jpeg

Known Issues

None