Class ImageInfo
java.lang.Object
org.nuxeo.ecm.platform.picture.api.ImageInfo
- All Implemented Interfaces:
Serializable
Wrapper class for the information returned by the Identify ImageMagick command.
- Author:
- tiry
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageInfofromMap(Map<String, Serializable> map) intgetDepth()getFile()intintgetWidth()voidsetColorSpace(String colorSpace) voidsetDepth(int depth) voidvoidsetHeight(int height) voidsetWidth(int width) toMap()Returns aMapof attributes for thisImageInfo.toString()
-
Field Details
-
WIDTH
- See Also:
-
HEIGHT
- See Also:
-
DEPTH
- See Also:
-
FORMAT
- See Also:
-
COLOR_SPACE
- See Also:
-
width
protected int width -
height
protected int height -
depth
protected int depth -
format
-
colorSpace
- Since:
- 5.9.5
-
filePath
-
-
Constructor Details
-
Method Details
-
fromMap
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getFormat
-
setFormat
-
toString
-
getFilePath
-
getFile
-
getDepth
public int getDepth() -
setDepth
public void setDepth(int depth) -
getColorSpace
- Since:
- 5.9.5
-
setColorSpace
- Since:
- 5.9.5
-
toMap
Returns aMapof attributes for thisImageInfo.Used when saving this
ImageInfoto aDocumentModelproperty.- Since:
- 7.1
-