Skip to content

Does this work with PNG? #195

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' }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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