Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rasterizing artifacts when drawing large and complex polygons #106

Open
4 tasks done
antonfirsov opened this issue Nov 20, 2020 · 1 comment
Open
4 tasks done

Rasterizing artifacts when drawing large and complex polygons #106

antonfirsov opened this issue Nov 20, 2020 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@antonfirsov
Copy link
Member

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp.Drawing
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

Although rendering is less prone to floating point accuracy issues since #96, it's still possible to stress it to produce unwanted artifacts. It might be a logical corner case unhandled by PolygonScanner instead of a numeric issue.

Steps to Reproduce

Enable and run DrawingRobustnessTests.LargeGeoJson_Lines.

The output has artifacts:
https://user-images.githubusercontent.com/6835152/97231127-5538e200-17db-11eb-9aec-e305a41b0e37.png

System Configuration

  • ImageSharp.Drawing version: current master
  • Other ImageSharp packages and versions: -
  • Environment (Operating system, version and so on): all
  • .NET Framework version: all
  • Additional information: -
@antonfirsov antonfirsov added bug Something isn't working needs triage labels Nov 20, 2020
@antonfirsov antonfirsov changed the title Accuracy issues when drawing large and complex polygons Rasterizing artifacts when drawing large and complex polygons Nov 23, 2020
@antonfirsov
Copy link
Member Author

I believe this is a low impact edge case. We won't be able to address it for 1.0.

@antonfirsov antonfirsov added this to the Future milestone Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant