ArthurHub / ArthurHub/HTML-Renderer

Problem render pages to pdf with images

Abierto
#144 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug PDF
Lenguaje dominante
C#
Estrellas
1.4k
Forks
550
Merge medio
14 d 9 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.