Interface HwmfFill.HwmfImageRecord

    • Method Detail

      • getImage

        BufferedImage getImage​(Color foreground,
                               Color background,
                               boolean hasAlpha)
        Provide an image using the fore-/background color, in case of a 1-bit pattern
        Parameters:
        foreground - the foreground color
        background - the background color
        hasAlpha - if true, the background color is rendered transparent - see HwmfMisc.WmfSetBkMode.HwmfBkMode
        Returns:
        the image
        Since:
        POI 4.1.1
      • getBMPData

        byte[] getBMPData()
        Returns:
        the raw BMP data
        Since:
        POI 4.1.1
        See Also:
        BMP format