Skip to content

Image: add anti-aliasing option #2649

@mYcheng-95

Description

@mYcheng-95

ScottPlot Version: 4.1.64

Operating System: win10

Application Type: console

Question: My image is a heatmap generated from a large dataset (directly using heatmap function affects efficiency due to the large amount of data). The width of the image is approximately 49,000 pixels, and I have set the height to 1000 pixels. When I add this image in Plt, I need to change the height of the image by stretching it, but the default anti-aliasing property causes abnormalities in the image when zoomed in. How can I disable this anti-aliasing property?

Here is a screenshot of the image after being zoomed in using Plt:
image

Here is a screenshot of the image after being saved as a file and then zoomed in:
image

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