Skip to content

outputSettings not working #31

@KaranbeerKaur

Description

@KaranbeerKaur

I am trying below code snippet to compare images and it is giving grey colour image.
but I want to have actual image colour.
I have mention RED to show in errorColor , But is showing some pink colour

resemble(fileData1)
         .outputSettings({
              errorColor: {
                red: 255,
                green: 0,
                blue: 0
             },
            errorType: 'flat',
            transparency: 1,
            largeImageThreshold: 1200,
            useCrossOrigin: false

           })
        
        .scaleToSameSize()
        .compareTo(fileData2)
        .onComplete(function(data){
         });

Can you please help, what change i need to make for this.
compare

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions