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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageInfo
fromMap
(Map<String, Serializable> map) int
getDepth()
getFile()
int
int
getWidth()
void
setColorSpace
(String colorSpace) void
setDepth
(int depth) void
void
setHeight
(int height) void
setWidth
(int width) toMap()
Returns aMap
of 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 aMap
of attributes for thisImageInfo
.Used when saving this
ImageInfo
to aDocumentModel
property.- Since:
- 7.1
-