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 image
height
- the exact height of the image
components
- 1,3 or 4 for GrayScale, RGB and CMYK
bpc
- bits per component. Must be 1,2,4 or 8
data
- the image data
IOException
- on error
protected 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–2023 iText Group NV. All rights reserved.