Class PDFImageFactory
- java.lang.Object
-
- com.inductiveautomation.rm.pdf.reader.PDFImageFactory
-
- All Implemented Interfaces:
ImageFactory
public class PDFImageFactory extends java.lang.Object implements ImageFactory
-
-
Constructor Summary
Constructors Constructor Description PDFImageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
expandBitmapBits(byte[] streamBytes, int width, int height)
java.awt.Image
getImage(PDFStream imageStream, java.awt.color.ColorSpace cspace, PDFFile srcfile)
Given a pdf xobject dictionary, return an awt Image object
-
-
-
Method Detail
-
getImage
@Nullable public java.awt.Image getImage(PDFStream imageStream, java.awt.color.ColorSpace cspace, PDFFile srcfile)
Description copied from interface:ImageFactory
Given a pdf xobject dictionary, return an awt Image object- Specified by:
getImage
in interfaceImageFactory
-
expandBitmapBits
public byte[] expandBitmapBits(byte[] streamBytes, int width, int height)
-
-