I have a problem: you need to make a program in Ruby that compares two images. Speed does not really matter, as will be demonstrated algorithms. Are there any Ruby libraries that have built-in comparison methods, know about the library RMagick, but the documentation in Russian there. If no such library, how would you simplify the process of writing such methods? Maybe some language function "With" use, in General, useful my knowledge is no, consider any solution to the problem. Thank you.