Skip to content

Artificial colored edges in CairoMakie when saving an image to PDF. #2162

@fatteneder

Description

@fatteneder

MWE

using CairoMakie
CairoMakie.activate!()
using FileIO
using Makie

img = load(Makie.assetpath("doge.png"))
i = image(permutedims(img)[:,end:-1:1])
save(joinpath(@__DIR__, "mwe.pdf"), i)

Output:
image

Adding fxaa=true to image does not fix it either.
Saving as png does work though.

Related: #2080

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions