public class ImageTagExtractor extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.BiMap<String,Integer> |
hexColors |
| Constructor and Description |
|---|
ImageTagExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAspectRatio(int tag) |
static Integer |
getAspectRatioCode(eu.europeana.corelib.definitions.model.Orientation orientation) |
static String |
getColor(int tag) |
static Integer |
getColorCode(String colour) |
static String |
getColorSpace(int tag) |
static Integer |
getColorSpaceCode(Boolean imageColor,
Boolean imageGrayScale) |
static Integer |
getColorSpaceCode(String colorSpace) |
static String |
getSize(int tag) |
static Integer |
getSizeCode(Integer width,
Integer height) |
static Integer |
getSizeCode(String imageSize) |
public static String getSize(int tag)
public static Integer getColorSpaceCode(Boolean imageColor, Boolean imageGrayScale)
public static String getColorSpace(int tag)
public static Integer getAspectRatioCode(eu.europeana.corelib.definitions.model.Orientation orientation)
public static String getAspectRatio(int tag)
public static String getColor(int tag)
Copyright © 2019 Europeana Foundation. All rights reserved.