Skip to content

Does this work with PNG? #195

@mvsrgc

Description

@mvsrgc

Does this lib. work with PNG?

let img1 = `data:image/png;base64,${fs.readFileSync(
    './foo.png',
    'base64'
)}`;
let img2 = `data:image/png;base64,${fs.readFileSync(
    './expected_foo.png',
    'base64'
)}`;

resemble(img1).compareTo(img2).onComplete(data => {
    console.log(data);
});

{ error: 'Error: Unsupported image type' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions