ArthurHub / ArthurHub/HTML-Renderer
Problem render pages to pdf with images
- 主要語言
- C#
- 星號
- 1.4k
- 分支
- 550
- 平均合併
- 14 天 9 小時
- 30 天內合併 PR
- 1
描述
I'm trying to render html body from email (MimeKit) that contains an embededs images.
I test two ways:
- Changing the attribute img src to "file://" that are locate in an existing local path. For this case, trying to see the html when I paste the html code it makes an error with the image.
- Changing the attribute img src to "data:image" and pasting the string for the bytes[] decoded. In this case it works and I can see the html but I can't create the pdf because there is an error creating the pdfdocument with this image.
Regards,
Andrews
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先,重現 MimeKit HTML body 中所述的兩種嵌入影像方法:file:// 路徑和 data:image URL。追蹤 PDFDocument 建立失敗的問題,並將其與 HTML 成功轉譯的情況進行比較;當嵌入影像能在產生的 PDF 中正確轉譯時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100