com.docmosis.template.analysis
Class ImageAnalysis
java.lang.Object
com.docmosis.template.analysis.ImageAnalysis
- All Implemented Interfaces:
- Serializable
public class ImageAnalysis
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageAnalysis
public ImageAnalysis()
setImages
public void setImages(ImageAnalysis.ImageDetail[] images)
getImages
public ImageAnalysis.ImageDetail[] getImages()
getMemSize
public long getMemSize(String imageName)
- Determine the memory used by the image by the given name.
- Parameters:
imageName
-
- Returns:
- 0 if the image is not known
getMemSize
public static long getMemSize(ImageAnalysis analysis,
String imageName)
- Determine the memory used by the image by the given name in
the given analysis
- Parameters:
analysis
- imageName
-
- Returns:
- 0 if the image is not known
getCombinedMemSize
public long getCombinedMemSize()
- Return the combined in-memory size of all images in bytes.
- Returns:
- 0 if there are no images
Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.