HiraokaHyperTools / PDFsharp

Just xps2pdf
MIT License
17 stars 5 forks source link

The images come out with strange lines around them #28

Open goyometeojorito opened 1 month ago

goyometeojorito commented 1 month ago

I attach the original XPS file, and the resulting PDF, as you can see, in the PDF there are some strange lines around the logo. I think it is a problem with some kind of rounding of decimals in the position or size.

It's as if the image had, like in CSS, the background-repeat and you can see the repetition on the sides.

image

Example.zip

kenjiuno commented 1 month ago

Hi, thanks for reporting, I have confirmed the issue.


My notes:

ImageBrush.TileMode is completely ignored.

ImageBrushTileMode.zip

kenjiuno commented 1 month ago

The issue has been fixed, please try the latest version: