public class DefaultImageHelper extends Object
| Constructor and Description |
|---|
DefaultImageHelper() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
JPEG2000ToRGBImage(byte[] data,
int w,
int h,
int pX,
int pY) |
static BufferedImage |
read(byte[] data) |
static BufferedImage |
read(String file_name) |
static Raster |
readRasterFromJPeg(byte[] data) |
static void |
setUserImplementation(ImageHelper userHelper) |
static void |
write(BufferedImage image,
String type,
String file_name) |
public static void setUserImplementation(ImageHelper userHelper)
public static void write(BufferedImage image, String type, String file_name) throws IOException
IOExceptionpublic static BufferedImage read(String file_name)
public static Raster readRasterFromJPeg(byte[] data) throws IOException
IOExceptionpublic static BufferedImage read(byte[] data) throws IOException
IOExceptionpublic static BufferedImage JPEG2000ToRGBImage(byte[] data, int w, int h, int pX, int pY) throws PdfException
PdfExceptionCopyright © 2017. All rights reserved.