Skip to content

Rasterizing artifacts when drawing large and complex polygons #106

Description

@antonfirsov

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: -

Activity

  1. changed the title [-]Accuracy issues when drawing large and complex polygons[/-] [+]Rasterizing artifacts when drawing large and complex polygons[/+] on Nov 23, 2020
  2. antonfirsov commented on Jun 19, 2021

    @antonfirsov
    MemberAuthor

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

  3. added this to the Future milestone on Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions