public class JPEGDecoder extends Object
| Constructor and Description |
|---|
JPEGDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytesFromJPEG(byte[] data,
GenericColorSpace decodeColorData,
PdfObject XObject) |
static byte[] |
getBytesFromJPEGWithImageIO(byte[] data,
GenericColorSpace decodeColorData,
PdfObject XObject) |
static Raster |
getRasterFromJPEG(byte[] data,
String type) |
static byte[] |
getUnconvertedBytesFromJPEG(byte[] data,
int adobeColorTransform) |
static void |
write(BufferedImage image,
String type,
OutputStream bos) |
static void |
write(BufferedImage image,
String type,
String des) |
public static void write(BufferedImage image, String type, String des)
public static void write(BufferedImage image, String type, OutputStream bos)
public static byte[] getBytesFromJPEGWithImageIO(byte[] data,
GenericColorSpace decodeColorData,
PdfObject XObject)
public static byte[] getBytesFromJPEG(byte[] data,
GenericColorSpace decodeColorData,
PdfObject XObject)
Copyright © 2017. All rights reserved.