Bright sparse pixels after exporting with antialias set to 2 or 3

Chrysaloid
2026-04-01T21:36:11Z

#### Summary:

When exporting a shape with curves on a transparent background with antialias set to 2 or 3 in Export Format Options there are almost invisible (with alpha channel value 1 or 2) bright pixels at various almost random places on the edges.

#### Steps to reproduce:

- open Inkscape
- open python.svg
- export \> single file \> page
- set width and height to 256 px
- set background color to #50505000 (transparent gray)
- **set antialias to 3**
- export to png
- open the png and remove the alpha channel
- observe that bright pixels appear on the edges of the snakes (#00ffff01 (cyan) for blue snake and #ffff0001 (full yellow) for the yellow snake)

The "removal of the alpha channel" can be done in 2 programs that I know:

[GIMP](https://www.gimp.org/):

* Click the channels tab next to the layers tab on the right above the layers
* Untick the alpha channel

[XnView MP](https://www.xnview.com/en/):

* From the standard menu list at the top choose Image
* Click "Remove alpha channel"

#### What happened?

Almost invisible bright pixels appeared.

#### What should have happened?

The image should be clean.

Sample attachments:

Base SVG:

![python.svg](/uploads/90e6074a4b35d1faa8b21fb3b874810b/python.svg){width=422 height=422}

With alpha channel, antialias = 3:

![python antialias=3.png](/uploads/8c27c284094e5c1bb8576498e96a5ffa/python_antialias_3.png){width=445 height=445}

No alpha channel, antialias = 3:

![python antialias=3 no alpha.png](/uploads/c352266d76c1689017d5fc454ce5a59c/python_antialias_3_no_alpha.png){width=447 height=447}

With alpha channel, antialias = 1:

![python antialias=1.png](/uploads/d9c60be1bdcef661ae19e7136252c000/python_antialias_1.png){width=446 height=446}

No alpha channel, antialias = 1:

![python antialias=1 no alpha.png](/uploads/a34f5701cb6d5d15b5d5fee5da82c69a/python_antialias_1_no_alpha.png){width=464 height=464}

#### P.S.

I know that this is not a critical issue and can be easily worked around (i.e. using the antialias = 1, exporting to big resolution and downsizing to a target resolution in an external program) but I am just curious why such thing is occurring. Can you maybe point me to the place in the source code where the antialiasing is implemented? Maybe I'll be able to figure it out myself.

#### Version info

```
Inkscape 1.4.3 (0d15f75, 2025-12-25)

Compile (Run)
GLib version: 2.86.3
GTK version: 3.24.51 (3.24.51)
glibmm version: 2.66.8
gtkmm version: 3.24.10
libxml2 version: 2.15.1
libxslt version: 1.1.45
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.4 (1.56.4)
HarfBuzz version: 12.2.0 (12.2.0)

OS version: Windows 10 22H2

```