java.lang.Object
one.jpro.platform.image.manager.ImageManager
Manages the process of loading and caching images, allowing efficient retrieval and processing.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageManagerReturns the singleton instance of ImageManager.loadImage(ImageDefinition imageDefinition) Loads the image based on the given definition, caches it, and returns the image result.
-
Method Details
-
getInstance
Returns the singleton instance of ImageManager.- Returns:
- the single instance of ImageManager
-
loadImage
Loads the image based on the given definition, caches it, and returns the image result.- Parameters:
imageDefinition- the image definition containing source, transformation and encoder- Returns:
- the loaded and potentially cached image result
-