ArthurHub / ArthurHub/HTML-Renderer

Problem render pages to pdf with images

オープン
#144 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug PDF
主要言語
C#
スター
1.4k
フォーク
550
平均マージ
14日 9時間
マージ済み PR(30日)
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the two approaches described for embedded images in the MimeKit HTML body: file:// paths and data:image URLs. Trace the PDFDocument creation failure and compare it with successful HTML rendering; done means embedded images render correctly in the generated PDF.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。