|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gerhardb.lib.image.ImageChangeUtil
Method Summary | |
static java.awt.image.BufferedImage |
bufferImage(java.awt.Image image)
Untested Image must be loaded before being called. |
static float |
calcThetaDown(int fromWidth,
int fromHeight,
double toWidth,
double toHeight)
How to size the picture down to fit in the area given. |
static float |
calcThetaUp(int fromWidth,
int fromHeight,
double toWidth,
double toHeight)
How to size the picture down to fit in the area given. |
static java.awt.image.BufferedImage |
resizeImageDown(java.awt.image.BufferedImage image,
double toWidth,
double toHeight)
|
static java.awt.image.BufferedImage |
rotate(java.awt.image.BufferedImage image,
int degrees)
|
static java.awt.image.BufferedImage |
rotateLeft(java.awt.image.BufferedImage image)
|
static java.awt.image.BufferedImage |
rotateRight(java.awt.image.BufferedImage image)
|
static java.awt.image.BufferedImage |
scale(java.awt.image.BufferedImage image,
float scale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.awt.image.BufferedImage rotateRight(java.awt.image.BufferedImage image)
public static java.awt.image.BufferedImage rotateLeft(java.awt.image.BufferedImage image)
public static java.awt.image.BufferedImage scale(java.awt.image.BufferedImage image, float scale)
public static java.awt.image.BufferedImage bufferImage(java.awt.Image image)
public static java.awt.image.BufferedImage resizeImageDown(java.awt.image.BufferedImage image, double toWidth, double toHeight) throws java.lang.Exception
java.lang.Exception
public static java.awt.image.BufferedImage rotate(java.awt.image.BufferedImage image, int degrees)
public static float calcThetaDown(int fromWidth, int fromHeight, double toWidth, double toHeight)
public static float calcThetaUp(int fromWidth, int fromHeight, double toWidth, double toHeight)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |