public class ImageUtils extends Object
Utility methods for images
| Modifier and Type | Method and Description |
|---|---|
static float[] |
getScaledDimension(float imageWidth,
float imageHeight,
float boundWidth,
float boundHeight)
|
static Image |
readImage(File imageFile)
Simple reading image from file
|
public static Image readImage(File imageFile) throws IOException
Simple reading image from file
imageFile - File from which image will be loadedImageIOExceptionpublic static float[] getScaledDimension(float imageWidth,
float imageHeight,
float boundWidth,
float boundHeight)
Copyright © 2016. All rights reserved.