EncodingCollection requiredEncodings) {
ImageMetaData metaData = (ImageMetaData) variant.getMetaData();
// Convertible image variants can only be used if a transcoding rule
// can be determined for this device.
ImageConversionMode conversionMode = metaData.getConversionMode();
if (conversionMode == ImageConversionMode.ALWAYS_CONVERT) {
// Check the transcoding rule.
if (MarinerPageContext.getTranscodingRule(device) == null) {
variant = null;
}