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

Aligning images with the reference image manually #183

Open
dpaleka opened this issue May 18, 2022 · 1 comment
Open

Aligning images with the reference image manually #183

dpaleka opened this issue May 18, 2022 · 1 comment

Comments

@dpaleka
Copy link

dpaleka commented May 18, 2022

Let's say I want to compare a modified crop of an image with the original reference image.
Is there a way to drag the image to align with the reference, or specify an offset for a given image?

@Tom94
Copy link
Owner

Tom94 commented May 18, 2022

Hi there, OpenEXR images allow you to specify a separate "display window" and "data window". If you store your crop such that the display window matches the original image and the crop window matches the cropped region, then tev will automatically keep the images aligned at all times.

If using the OpenEXR image format is not an option, I'm afraid this will be tougher. You might be able to hack something half-working together by hardcoding appropriate display and data windows into ImageCanvas::transform and Image::centerDisplayOffset.

Cheers!

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

No branches or pull requests

2 participants