com.jivesoftware.forum.util
Class GraphicUtils
java.lang.Object
com.jivesoftware.forum.util.GraphicUtils
public final class GraphicUtils
- extends java.lang.Object
GraphicsUtils
class defines common image/graphical related utility functions.
Method Summary |
static java.awt.image.BufferedImage |
convert(java.awt.Image im,
int colorModel)
|
static byte[] |
getBytesFromImage(java.awt.Image image)
|
static void |
load(java.awt.Image image)
|
static java.awt.image.BufferedImage |
removeTransparency(java.awt.Image image)
|
static java.awt.Image |
toImage(java.awt.image.BufferedImage bufferedImage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
removeTransparency
public static java.awt.image.BufferedImage removeTransparency(java.awt.Image image)
toImage
public static java.awt.Image toImage(java.awt.image.BufferedImage bufferedImage)
convert
public static java.awt.image.BufferedImage convert(java.awt.Image im,
int colorModel)
throws java.io.IOException
- Throws:
java.io.IOException
load
public static void load(java.awt.Image image)
throws java.io.IOException
- Throws:
java.io.IOException
getBytesFromImage
public static byte[] getBytesFromImage(java.awt.Image image)
Copyright © 1999-2006 Jive Software.