You just need to supply an image and the library will compute the RGB values of the image as well as well as it’s brightness.
With Resemble.js you can also perform comparison between two images easily. You can ignore colors and antialiasing while comparing the images, with Resemble.js giving you a true or false on whether the images are same or not.
Demo:http:/ / huddle. github. com/ Resemble. js/