public final class RawImageHelper extends Object
| Constructor and Description |
|---|
RawImageHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
updateCcittImageParameters(RawImageData image,
int width,
int height,
boolean reverseBits,
int typeCcitt,
int parameters,
byte[] data) |
static void |
updateImageAttributes(RawImageData image,
Map<String,Object> additional) |
protected static void |
updateRawImageParameters(RawImageData image,
int width,
int height,
boolean reverseBits,
int typeCCITT,
int parameters,
byte[] data,
int[] transparency) |
protected static void |
updateRawImageParameters(RawImageData image,
int width,
int height,
int components,
int bpc,
byte[] data)
Update original image with Raw Image parameters.
|
protected static void |
updateRawImageParameters(RawImageData image,
int width,
int height,
int components,
int bpc,
byte[] data,
int[] transparency) |
public static void updateImageAttributes(RawImageData image, Map<String,Object> additional)
protected static void updateRawImageParameters(RawImageData image, int width, int height, int components, int bpc, byte[] data)
image - to update its parameters with Raw Image parameters.width - the exact width of the imageheight - the exact height of the imagecomponents - 1,3 or 4 for GrayScale, RGB and CMYKbpc - bits per component. Must be 1,2,4 or 8data - the image dataIOException - on errorprotected static void updateRawImageParameters(RawImageData image, int width, int height, int components, int bpc, byte[] data, int[] transparency)
protected static void updateRawImageParameters(RawImageData image, int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data, int[] transparency)
protected static void updateCcittImageParameters(RawImageData image, int width, int height, boolean reverseBits, int typeCcitt, int parameters, byte[] data)
Copyright © 1998–2024 Apryse Group NV. All rights reserved.