Class PDFImages


  • public class PDFImages
    extends java.lang.Object
    This class handles writing images to a PDF file.
    • Constructor Detail

      • PDFImages

        public PDFImages()
    • Method Detail

      • getNamePDF

        public static java.lang.String getNamePDF​(RMImageData anImageData)
        Returns a unique PDF name for a given imagedata.
      • writeImageFill

        public static void writeImageFill​(RMShape aShape,
                                          RMImageFill anImageFill,
                                          PDFFile pFile,
                                          PDFPageBuffer pBuffer)
        Writes the PDF for drawing a specific image in a specific shape.
      • writeImageData

        public static void writeImageData​(RMImageData anImageData,
                                          PDFFile pFile)
        Writes the PDF to embed the actual image bytes.
      • getColorSpace

        public static java.lang.String getColorSpace​(RMImageData anImageData,
                                                     PDFFile pFile)
        Returns the pdf colorspace string for a given image data.
      • writeImageDataPDF

        public static void writeImageDataPDF​(RMImageData anImageData,
                                             PDFFile pFile)
      • addObjectDeepToXRef

        public static java.lang.Object addObjectDeepToXRef​(PDFFile pFile,
                                                           java.lang.Object anObj,
                                                           PDFXTable destXRef)