Scalable-Vector-Graphics-Plugin-for-Paint.NET icon indicating copy to clipboard operation
Scalable-Vector-Graphics-Plugin-for-Paint.NET copied to clipboard

Erroneous pixels and color fringes on anti-aliased edges

Open elgonzo opened this issue 8 months ago • 0 comments

When loading an SVG, the resulting image in Paint.NET has erroneous pixels and color fringes on anti-aliased edges throughout the entire image.

The issue seems to only occur when choosing relatively small target resolutions. I suspect it happens for any target resolution that is smaller than the resolution suggested in the plug-in's dialog box. Choose an increasingly larger target resolution, and the issue will eventually not occur any more.

Paint.NET 5.0.11 SVG plugin 1.0.6.0


Reproductions steps

Load the attached example SVG file (https://github.com/otuncelli/Scalable-Vector-Graphics-Plugin-for-Paint.NET/assets/6129198/ed970999-055e-4ffc-afbc-f77f2e64b782)

example.svg


into Paint.NET while choosing an image resolution of 64 x 51. The result will be:

svg_plugin_pixel_bug

Note the many erroneous pixels and the pink color fringing around the black edges.

Choose a resolution of 76 x 61 or larger when loading this SVG file, and the erroneous pixels will disappear.

elgonzo avatar Oct 21 '23 16:10 elgonzo