Package net.coobird.thumbnailator.util
Class BufferedImages
- java.lang.Object
-
- net.coobird.thumbnailator.util.BufferedImages
-
public final class BufferedImages extends java.lang.ObjectThis class provides convenience methods for usingBufferedImages.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBufferedImages()This class is not intended to be instantiated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.image.BufferedImagecopy(java.awt.image.BufferedImage img)Returns aBufferedImagewhich is a graphical copy of the specified image.static java.awt.image.BufferedImagecopy(java.awt.image.BufferedImage img, int imageType)Returns aBufferedImagewith the specified image type, where the graphical content is a copy of the specified image.
-
-
-
Method Detail
-
copy
public static java.awt.image.BufferedImage copy(java.awt.image.BufferedImage img)
Returns aBufferedImagewhich is a graphical copy of the specified image.- Parameters:
img- The image to copy.- Returns:
- A copy of the specified image.
-
copy
public static java.awt.image.BufferedImage copy(java.awt.image.BufferedImage img, int imageType)Returns aBufferedImagewith the specified image type, where the graphical content is a copy of the specified image.- Parameters:
img- The image to copy.imageType- The image type for the image to return.- Returns:
- A copy of the specified image.
-
-