HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › How to embedd PDF? This topic has 3 replies, 3 voices, and was last updated Feb 20, 201511:40:14 by PD4ML. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts mosin February 19, 2015 at 14:43 #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! Anonymous February 19, 2015 at 15:05 #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 mosin February 20, 2015 at 10:28 #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? PD4ML February 20, 2015 at 11:40 #29669 Try [language=xml:2obi8vy9][/language:2obi8vy9] Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.