public final class LosslessFactory
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static PDImageXObject |
createFromImage(PDDocument document,
java.awt.image.BufferedImage image) |
Creates a new lossless encoded Image XObject from a Buffered Image.
|
public static PDImageXObject createFromImage(PDDocument document, java.awt.image.BufferedImage image) throws java.io.IOException
document - the document where the image will be createdimage - the buffered image to embedjava.io.IOException - if something goes wrongCopyright © 2002–2018. All rights reserved.