Inline image data in XSL:FO / Apache FOP

前端 未结 1 760
猫巷女王i
猫巷女王i 2021-02-14 03:49

I have MIME Multi-Part data that I want to convert to PDF using XSL:FO. I\'m comfortable reading MIME using Apache James and I have a grasp on embedded image data in Mime or inl

相关标签:
1条回答
  • 2021-02-14 04:18

    The element fo:external-graphic can be utilized to embed inline data as well. Just use the following syntax:

    <fo:external-graphic src="url('data:image/jpeg;base64,<DATA>')"/>
    

    <DATA> should be replaced with your base64 data string of the JPEG image.

    0 讨论(0)
提交回复
热议问题