|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.image.ImageProcessorUtil
public class ImageProcessorUtil
| Constructor Summary | |
|---|---|
ImageProcessorUtil()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
convertImageType(BufferedImage sourceImage,
int type)
|
static void |
encodeGIF(RenderedImage renderedImage,
OutputStream os)
|
static void |
encodeWBMP(RenderedImage renderedImage,
OutputStream os)
|
static BufferedImage |
getBufferedImage(RenderedImage renderedImage)
|
static byte[] |
getBytes(RenderedImage renderedImage,
String contentType)
|
static ImageProcessor |
getImageProcessor()
|
static ImageBag |
read(byte[] bytes)
|
static ImageBag |
read(File file)
|
static RenderedImage |
scale(RenderedImage renderedImage,
int width)
|
static RenderedImage |
scale(RenderedImage renderedImage,
int maxHeight,
int maxWidth)
|
void |
setImageProcessor(ImageProcessor imageProcessor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageProcessorUtil()
| Method Detail |
|---|
public static BufferedImage convertImageType(BufferedImage sourceImage,
int type)
public static void encodeGIF(RenderedImage renderedImage,
OutputStream os)
throws IOException
IOException
public static void encodeWBMP(RenderedImage renderedImage,
OutputStream os)
throws InterruptedException,
IOException
InterruptedException
IOExceptionpublic static BufferedImage getBufferedImage(RenderedImage renderedImage)
public static byte[] getBytes(RenderedImage renderedImage,
String contentType)
throws IOException
IOExceptionpublic static ImageProcessor getImageProcessor()
public static ImageBag read(File file)
throws IOException
IOException
public static ImageBag read(byte[] bytes)
throws IOException
IOException
public static RenderedImage scale(RenderedImage renderedImage,
int width)
public static RenderedImage scale(RenderedImage renderedImage,
int maxHeight,
int maxWidth)
public void setImageProcessor(ImageProcessor imageProcessor)
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||