Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add TexPlay#compare method to check if two images are the same (pixel-wise compare) #12

Open
banister opened this issue Dec 7, 2010 · 2 comments

Comments

@banister
Copy link
Owner

banister commented Dec 7, 2010

image1.compare image2 #=> true (if same pixels)

@bil-bas
Copy link
Collaborator

bil-bas commented Dec 7, 2010

This is something I actually already do somewhere, so having this in C would possibly be a boon. Not critical, though, since it is already available as image1.to_blob == image2.to_blob

@bil-bas
Copy link
Collaborator

bil-bas commented Dec 7, 2010

Thinking about it, why not just overload ==?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants