org.apache.pdfbox.pdmodel.graphics.xobject
public class CompositeImage extends java.lang.Object
| Constructor and Description |
|---|
CompositeImage(java.awt.image.BufferedImage baseImage,
java.awt.image.BufferedImage smaskImage)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
createMaskedImage(COSArray decodeArray)
This method applies the specified transparency mask to a given image and returns a new BufferedImage
whose alpha values are computed from the transparency mask (smask) image.
|
public CompositeImage(java.awt.image.BufferedImage baseImage,
java.awt.image.BufferedImage smaskImage)
baseImage - the base Image.smaskImage - the transparency image.public java.awt.image.BufferedImage createMaskedImage(COSArray decodeArray) throws java.io.IOException
java.io.IOException