ArthurHub / ArthurHub/HTML-Renderer

HTML with Images - unwanted image scaling problem

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

Descripción

When HTML contains images they are scaled up by ~20% when converting to PDF.

Image 1:
![Screenshot 2022-10-05 135628](https://user-images.githubusercontent.com/32173891/194054894-5195821b-2cdf-419f-b9e5-c95a23e61916.jpg)
_This is the desired look when generating (taken from HTML template)_

Image 2:
![Screenshot 2022-10-05 135738](https://user-images.githubusercontent.com/32173891/194055092-fab0ab3b-7988-4352-9885-fe3ba9b74dc6.jpg)
_This is the result i am getting_

When HTML is opened in browser it looks like _example 1_ as it should be.
The < img > tag have height and width attributes and this is occurring every time image is present in the HTML.

Guía de contribución

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

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.