ArthurHub / ArthurHub/HTML-Renderer
HTML with Images - unwanted image scaling problem
- 主要言語
- C#
- スター
- 1.4k
- フォーク
- 550
- 平均マージ
- 14日 9時間
- マージ済み PR(30日)
- 1
説明
When HTML contains images they are scaled up by ~20% when converting to PDF.
Image 1:

_This is the desired look when generating (taken from HTML template)_
Image 2:

_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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the issue with the HTML containing an img tag with explicit height and width attributes, then trace the HTML image-sizing and PDF rendering entry points. Compare the generated PDF dimensions with the browser result; done means images retain the dimensions specified by the HTML without the unwanted scaling.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100