Skip to content

Image comparing tests for ImageExport #317

Open
@WhiteBlackGoose

Description

@WhiteBlackGoose

There's Plotly.NET.Export which exports images, for example, into base64. However testing it on exact matches doesn't work well, after all, there are multiple ways the same image can be encoded with jpg or png.

So the idea here is to convert it to an image and compare pixel by pixel against a model one. If the deviation on average isn't big, then the test is considered to pass.

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