Odiff Versions Save

The fastest pixel-by-pixel image visual difference tool in the world.

v3.0.0

2 weeks ago

This is a huge release for odiff, it became faster than ever! Here is what's changed:

Changes

Breaking algorithm changes — some images can produce different diff

  • Improved our main algorithm implementation leading to fewer false positives around semi-transparent colors, resolved an issue with different encodings of fully transparent color, and now different color spaces for tiff images
  • odiff became even faster, 3-4 times faster than the 2.x releases at a cost of slightly larger memory usage. Get back to the previous memory usage with --reduce-ram-usage flag
  • Sources rewritten to pure OCaml 🐫
  • Improved the way encoder libraries are linked leading to the smaller binary files and significantly lighter npm package size

2.6.0

1 year ago

Features

New cli option --output-diff-lines and new node js option captureDiffLines that outputs line indexes containing pixel diffs

Full Changelog: https://github.com/dmtrKovalenko/odiff/compare/2.5.1...2.6.0

2.5.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dmtrKovalenko/odiff/compare/2.5.0...2.5.1

2.5.0

2 years ago

This was a long time since the previous release, but we made some really powerful changes!

Features

  • Migrate to custom C codecs for all formats which dramatically improves the performance of comparison for .jpg and .tiff
  • Migrate to libspng from libpng for even faster png encoding 🚄
  • Add new option noFailOnFsErrors to avoid failures on file system errors for node-js bindings

... and a little bit more optimizations 😎 to improve memory usage

2.4.2

2 years ago

Fixes

  • Fix typescript definition that has all the options required
  • chore: Add typescript tests

2.4.1

2 years ago

Breaking changes

We remove support of .tiff and .jpeg temporarily as before they weren't working without globally installed libjpeg and libtiff in the correct folder, so we decided to completely remove support for other than .png formats for now and get back to them later on.

Fixes

  • Fix issue Error: dyld: Library not loaded: /usr/local/opt/libtiff/lib/libtiff.5.dylib if libtiff is not installed om MacOS
  • Fix issue antialiasing option from nodejs bindings
  • Fix not failing with layout-diff if only one dimension is different

2.4.0

2 years ago

This is huuuge

Big thanks to @eWert-Online for his help on this project and especially this release 🎉

Features:

  • 🔳 Add ignore regions support. You can use --ignore-regions param or ignoreRegions option for node.js to ignore changes inside specific coordinate array
  • 🚄 Improve image difference, yes odiff is even faster than before

Fixes:

  • 🐛 Finally resolve all issues with linking libpng and zlib on windows server and esy prefix by providing one statically linked binary. Now it should not have any problems on any operation system
  • 🐛 Fix "index out of bounds" on antialiasing check if image is zero height or width (#38)

2.3.1

2 years ago

Fixes

  • fix nodejs bindings crashing of requiring 3rd internal arg to be passed

2.3.0

2 years ago

This release comes with Anti-aliasing detection support.

Features

  • Antialiasing detection. Use --antialiasing or { antialiasing: true } for node.js to enable

Fixes

  • Fix esy error that "path is too deep to relocate"

2.2.0

3 years ago

Please welcome our new collaborator @eWert-Online 🎉. He already committed several great features to odiff and we are in the progress of building the fastest Anti-aliasing detection for your visual regression :)

Features

  • Better c libraries linking (#20)
  • Add diff percentage to CLI output (#24)
  • Return diffCount and diffPercentage in nodejs bindings (#32)

Fixes

  • Windows CI error: Esy prefix path is too deep in the filesystem, Esy won't be able to relocate artifacts (#30)
  • Typing for diffColor option (#19)