Skip to content

Images do not roundtrip #972

Open
@sagudev

Description

@sagudev

When drawing image without any transformations one would expect that output image would be same as input image, but that's not the case for vello right now.

The problem lies in math errors of:

atlas_uv.x = extend_mode(atlas_uv.x * extents_inv.x, image.x_extend_mode) * image.extents.x;
atlas_uv.y = extend_mode(atlas_uv.y * extents_inv.y, image.y_extend_mode) * image.extents.y;

#vello > Servo 2D canvas backend @ 💬

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