public class MaskDecoder extends Object
| Constructor and Description |
|---|
MaskDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
applyMask(ImageData imageData,
GenericColorSpace decodeColorData,
PdfObject newMask,
PdfObject XObject,
byte[] maskDataSream)
apply the Mask to image data directly as a component on argb
|
static BufferedImage |
createMaskImage(boolean isPrinting,
boolean isType3Font,
byte[] data,
int w,
int h,
ImageData imageData,
int d,
GenericColorSpace decodeColorData,
byte[] maskCol) |
public static byte[] applyMask(ImageData imageData, GenericColorSpace decodeColorData, PdfObject newMask, PdfObject XObject, byte[] maskDataSream)
imageData - decodeColorData - public static BufferedImage createMaskImage(boolean isPrinting, boolean isType3Font, byte[] data, int w, int h, ImageData imageData, int d, GenericColorSpace decodeColorData, byte[] maskCol)
Copyright © 2017. All rights reserved.