"checkit_tiff" is an incredibly fast conformance checker for baseline TIFFs (with various extensions), see http://andreas-romeyke.de
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 
Andreas Romeyke ce987fe864 Merge branch 'development' pirms 1 mēnesi
common - helper script added to visualize PEG grammar more easily pirms 3 gadiem
example_configs - fixed tag SampleFormat (339) pirms 11 mēnešiem
src - fixed returncode evaluation in parse_icc_common_header() pirms 1 mēnesi
t - fixed tc pirms 1 mēnesi
tiffs_should_fail - added check_cardinality_of_some_tags_are_equal() pirms 1 mēnesi
tiffs_should_pass - added example of valid geotiff file pirms 1 gada
.gitignore Ignore compiled files and build directory. pirms 4 gadiem
BUGS - renamed checkit/ checkit_tiff/ to prepare repos split pirms 4 gadiem
FAQ - fixed links pirms 1 gada
LICENSE - fixed copyright years pirms 2 gadiem
README.1st_checkit - fixed links pirms 1 gada
README.TIFFrisks - fixed typos pirms 3 gadiem
README.TIFFspecification - fixed typos pirms 3 gadiem
README.compile - updated pirms 1 mēnesi
README.grammar - added hint about checkit_check_config pirms 3 gadiem
README.icc - added hint about ICC pirms 3 gadiem
README.regex - fixed typos pirms 3 gadiem
README.testsuite - integrated test-target into cmake config pirms 1 gada
TODO - renamed checkit/ checkit_tiff/ to prepare repos split pirms 4 gadiem
grammar.xhtml - new grammar with enhanced modes and new Content definitions pirms 3 gadiem

README.testsuite

########################################################

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:
$> cmake ../src
$> make
$> make test


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

$> 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!"