node-resemble.js icon indicating copy to clipboard operation
node-resemble.js copied to clipboard

outputSettings not working

Open KaranbeerKaur opened this issue 8 years ago • 1 comments

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

KaranbeerKaur avatar Nov 24 '16 07:11 KaranbeerKaur

I tried latest version(https://github.com/peter-mouland/node-resemble-v2) also . Still facing same issue, I am getting grey image. Please provide any solution on this. I need it on urgent basis.

KaranbeerKaur avatar Nov 25 '16 04:11 KaranbeerKaur