Crates.io | rendiff |
lib.rs | rendiff |
version | 0.2.1 |
source | src |
created_at | 2023-05-06 02:01:27.040733 |
updated_at | 2024-06-10 18:16:14.036289 |
description | Image comparison (diffing) for computer graphics renderer test cases. |
homepage | |
repository | https://github.com/kpreid/rendiff/ |
max_upload_size | |
id | 858211 |
size | 47,024 |
rendiff
The algorithm implemented in this Rust library is intended to allow comparing images of the same scene which were rendered using different algorithms, or different hardware, causing small “rounding errors” in either color or spatial position that should be ignored as insignificant.
See the library documentation for details on the algorithm used.
rendiff
provides only a comparison algorithm which can use a pass/fail criterion, and a visual representation of the diff; it does not provide any test-framework features like loading expected images and overwriting them, or producing visual reports.
rendiff
is being used within one of my other projects (all-is-cubes
) and reliably performs its function. However, there are several features that it lacks, which may result in breaking API or behavior changes in future versions:
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.