ArthurHub / ArthurHub/HTML-Renderer
Problem render pages to pdf with images
- Langage dominant
- C#
- Étoiles
- 1.4k
- Forks
- 550
- Merge moyen
- 14 j 9 h
- PR mergées (30 j)
- 1
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100