# File lib/gd2/image.rb, line 264
    def compare(other)
      SYM[:gdImageCompare].call(image_ptr, other.image_ptr)[0]
    end