Package de.espirit.common.tools
Class Images
java.lang.Object
de.espirit.common.tools.Images
Generic utility to provide image related operations.
- Since:
- 5.2.21
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BufferedImage
fromStream
(@Nullable InputStream stream) Loads an image from the specified input stream and returns a buffered image.
-
Constructor Details
-
Images
public Images()
-
-
Method Details
-
fromStream
Loads an image from the specified input stream and returns a buffered image.- Parameters:
stream
- the input stream to load the image from- Returns:
- buffered image, or
null
is the image could not be loaded - Since:
- 5.2.21
-