Introduce a test tool anim_diff.

It can be used to test if given pair of animated images (GIF and/or
WebP) are identical in terms of pixel match and other animation
properties.

Change-Id: I84adea145e9d062be6ad06a0d4fcdc9658cf52d4
This commit is contained in:
Urvang Joshi
2015-05-01 16:11:49 -07:00
parent 9e00a499a6
commit acd7b5af0f
7 changed files with 1183 additions and 37 deletions

18
README
View File

@ -371,6 +371,24 @@ or using autoconf:
$ ./configure --enable-everything
$ make
Comparison of animated images:
==============================
Test utility anim_diff under examples/ can be used to compare two animated
images (each can be GIF or WebP).
Usage:
anim_diff <image1> <image2> [-dump_frames <folder>] [-min_psnr <float>]
Building:
---------
With the libgif development files and a C++ compiler installed, anim_diff can
be built using makefile.unix:
$ make -f makefile.unix examples/anim_diff
or using autoconf:
$ ./configure --enable-everything
$ make
Encoding API:
=============