Class PDFImageFactory
java.lang.Object
com.inductiveautomation.rm.pdf.reader.PDFImageFactory
- All Implemented Interfaces:
ImageFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
expandBitmapBits
(byte[] streamBytes, int width, int height) getImage
(PDFStream imageStream, ColorSpace cspace, PDFFile srcfile) Given a pdf xobject dictionary, return an awt Image object
-
Constructor Details
-
PDFImageFactory
public PDFImageFactory()
-
-
Method Details
-
getImage
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)
-