Package com.gaia3d.util
Class ImageResizer
java.lang.Object
com.gaia3d.util.ImageResizer
Utility class for resizing images.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresizeImageGraphic2D
(BufferedImage originalImage, int width, int height) resizeImageGraphic2D
(BufferedImage originalImage, int width, int height, boolean interpolation)
-
Field Details
-
MAX_TEXTURE_SIZE
public static final int MAX_TEXTURE_SIZE- See Also:
-
MIN_TEXTURE_SIZE
public static final int MIN_TEXTURE_SIZE- See Also:
-
-
Constructor Details
-
ImageResizer
public ImageResizer()
-
-
Method Details
-
resizeImageGraphic2D
-
resizeImageGraphic2D
public BufferedImage resizeImageGraphic2D(BufferedImage originalImage, int width, int height, boolean interpolation)
-