Skip to content

macOS renders in PARG8, composites in ARGB8 #914

Open
@bloodwiing

Description

@bloodwiing

I am having issues with SVG on macOS.

The rendered SVGs are pre-multiplied (as in, the less opaque the pixel is, the more black it is), when they're used as if they were not.

I get that PARGB is better and easier for GPUs to composite, but when the image is rendered as a PARGB and composited as a ARGB, it really just makes it look off.

Here's a comparison:

Windows view:

macOS view:

Versions:

SVG 3.3.0
System.Drawing.Common 5.0.2

I have a macOS VM, but it's not the most elegant OS to be emulated...
Reproducing is possible, but my own setup is quite a few steps.
(No Developer ID, so either dotnet run or ~20 popups about DLLs being blocked from running)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions