Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26991

    Sometime I need to insert external media objects such as pictures into PDF document (I use tags library). And some of these objects might be PDF or TIFF images so tag can’t be used.
    Is there some solution?
    Thank you in advance!

    #29667

    You can embed PDFs only as an attachment using tag.

    Some species of TIFFs (Fax) are supported by PD4ML directly, so a regular tag can be used.

    If not, there is a way to implement a custom resource loader to convert a TIFF to PNG, GIFF or JPEG on a fly.

    See http://pd4ml.com/cookbook/custom_rc_loaders.htm

    #29668

    http://pd4ml.com/cookbook/pdf-attachments.htm

    So I tried the inline option but pdf:attachment tag always asks for src attribute.. If I leave it empty:

    <pd4ml:attachment description="attached.txt" src=""><br /> data:base64,YSxiLGMsZCxlDQp2YWx1ZSAxLCB2YWx1ZSAyLCB2YWx1ZSAzLCB2YWx1ZSA0<br /> </pd4ml:attachment>

    I see just an icon and not the attachment. Do I do something wrong?

    #29669

    Try
    [language=xml:2obi8vy9][/language:2obi8vy9]

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.