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 a diff tool #167

Open
mitchcurtis opened this issue Jul 3, 2021 · 1 comment
Open

Add a diff tool #167

mitchcurtis opened this issue Jul 3, 2021 · 1 comment

Comments

@mitchcurtis
Copy link
Owner

mitchcurtis commented Jul 3, 2021

This would be useful for e.g. comparing animation frames. For example, you have two frames that look really similar but you can't be sure, and it's slow to compare everything by e.g. making selections and comparing their sizes. The tool work similarly to crop in how you start using it: first you need to make a selection. Then, click on the diff button to start seeing the difference between the contents of the selection (only applies to image contents in the current layer) and whatever is underneath it. So you'd move the mouse around to find the similar frame and it would show the difference between the two by e.g. partially transparent red pixels. You can cancel it by clicking or pressing escape.

There could also be different diff options:

  • Show only different pixels (in red)
  • Show different pixels (in red) and identical pixels (in green)
  • Show only identical pixels (in green)

The red and green colours might not work for images that are red or green, so we could e.g. darken the canvas once the diff button is clicked to make it stand out more.

@mitchcurtis
Copy link
Owner Author

I guess onion skinning support for animations could also achieve this, though a diff tool would be more broadly useful.

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

1 participant