com.threecoffee.media
Class ImageControl
java.lang.Object
com.threecoffee.media.ImageControl
public class ImageControl
- extends java.lang.Object
Provides static methods for Image manipulation.
- Author:
- Divyansh Prakash
Method Summary |
static javax.swing.ImageIcon |
resize(javax.swing.ImageIcon orig,
int width,
int height)
Resizes the given ImageIcon to the given width and height. |
static java.awt.Image |
resize(java.awt.Image orig,
int width,
int height)
Resizes the given Image to the given width and height. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageControl
public ImageControl()
resize
public static java.awt.Image resize(java.awt.Image orig,
int width,
int height)
- Resizes the given Image to the given width and height.
resize
public static javax.swing.ImageIcon resize(javax.swing.ImageIcon orig,
int width,
int height)
- Resizes the given ImageIcon to the given width and height.