Class PDFImageFactory

java.lang.Object
com.inductiveautomation.rm.pdf.reader.PDFImageFactory
All Implemented Interfaces:
ImageFactory

public class PDFImageFactory extends Object implements ImageFactory
  • Constructor Details

    • PDFImageFactory

      public PDFImageFactory()
  • Method Details

    • getImage

      @Nullable public Image getImage(PDFStream imageStream, ColorSpace cspace, PDFFile srcfile)
      Description copied from interface: ImageFactory
      Given a pdf xobject dictionary, return an awt Image object
      Specified by:
      getImage in interface ImageFactory
    • expandBitmapBits

      public byte[] expandBitmapBits(byte[] streamBytes, int width, int height)