"checkit_tiff" is an incredibly fast conformance checker for baseline TIFFs (with various extensions), see http://andreas-romeyke.de
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
art1pirat 179dc61d62 - updated 1 month ago
common - updated License information 1 year ago
deploy - updated pcre2 version 7 months ago
example_configs - updated 1 month ago
src - fixed test order 5 months ago
t - fixed test order 5 months ago
tiffs_should_fail - init 12 months ago
tiffs_should_pass - added a valid >4GB file (compressed with brotli) 7 months ago
.gitignore Ignore compiled files and build directory. 7 years ago
BUGS - renamed checkit/ checkit_tiff/ to prepare repos split 7 years ago
FAQ - updated pcre2 version 7 months ago
LICENSE - updated 1 year ago
README.1st_checkit - added hint to deploy/ 1 year ago
README.TIFFrisks - fixed typos 6 years ago
README.TIFFspecification - fixed / adapted AsciiDoc 1 year ago
README.compile - updated pcre2 version 7 months ago
README.grammar - typofix 1 year ago
README.icc - added hint about flags 12 months ago
README.regex - fixed / adapted AsciiDoc 1 year ago
README.testsuite - fixed / adapted AsciiDoc 1 year ago
THANKS - extended :) 1 year ago
TODO - fixed / adapted AsciiDoc 1 year ago
grammar.xhtml - new grammar with enhanced modes and new Content definitions 6 years ago

README.testsuite

Testexamples and Tests
======================

the directory 'tiffs_should_pass/' contains TIFF-files that should generally be
valid. This does not mean that they have to be valid against every profile.

Rudimentary tests are available in the 't/' directory to check the correctness of
'checkit_tiff' using Perl. 

It needs the following Perl modules (in brackets the debian module):

* Data::Printer (libdata-printer-perl)
* Exporter      (perl-base)
* File::Path    (perl-base)
* File::Slurp   (libfile-slurp-perl)
* File::Spec    (perl-base)
* IPC::Open3    (perl-base)
* POSIX         (perl-base)
* Test::More    (perl-modules-XXX with XXX as Perl-version )

in cmake the test-target is enabled by default, you could run it via:

[bash]
----
$> cmake ../src 
$> make
$> make test
----

If you want to call it manually, you should try this instead:

[bash]
----
$> cd t/
$> perl -I./ test_grammar.t && echo "fine!"
$> perl -I./ test_config_examples.t  && echo "fine!"
$> perl -I./ test_should_pass.t  && echo "fine!"
$> perl -I./ test_should_fail.t  && echo "fine!"
----

the return code for all these runs should be zero and result in message "fine!"