final String assetGroup = "assetgroup";
Variant variant = factory.createConvertibleImageVariant(
temporaryFile, assetGroup).getVariant();
// Test selection.
DefaultSelection selection = (DefaultSelection)
variant.getSelection();
// Test meta data.
checkMetaData(variant, 100, 75, 24, ImageRendering.COLOR,
ImageEncoding.PNG);