summaryrefslogtreecommitdiff
path: root/tools/tiffcmp.c
Commit message (Collapse)AuthorAgeFilesLines
* tiffcmp: Use PRI format flags and remove unnecessary castsRoger Leigh2021-01-271-29/+29
|
* Use standard C99 integer typesRoger Leigh2021-01-211-36/+36
|
* tiffcmp: fix comparaison with pixels that are fractional number of bytesThomas Bernard2021-01-151-6/+8
| | | | For exemple : 4bits per sample + 3 samples per pixel => 1.5 bytes per pixel
* tiff tools: include 'libport.h', remove local definition of 'getopt()'miguel2021-01-051-8/+1
|
* Reduce initialized data by making more data const and simplifying usage() ↵Bob Friesenhahn2020-12-281-11/+8
| | | | implementation.
* tiffcmp: match exit status for posix cmp and diff toolsThomas Bernard2020-04-261-14/+28
|
* Fix Cmake HAVE_GETOPT for systems which declare getopt in stdio.h.Bob Friesenhahn2019-11-031-1/+1
| | | | Fix utility baked-in getopt prototype which appears when HAVE_GETOPT is not defined.
* Fix all compiler warnings for default buildNathan Baker2018-02-041-1/+2
|
* Remove all $Id and $Headers comments with CVS versionsEven Rouault2017-11-301-2/+0
|
* * libtiff/tif_config.vc.h: Make adjustments to match the newBob Friesenhahn2015-06-211-1/+3
| | | | | | | | | | | | | | | definitions that configure produces, including for WIN64. Still needs to be tested. 'lld' is not assured by the run-time DLLs and so GCC warns. Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition and printf format specifier to deal with printing values of 'size_t' type. In particular, this was necessary for WIN64. Added a configure test for if the system headers provide 'optarg' (normal case) and block out the many explicit 'extern' statements in the utilities. This was found to be necessary under Windows when getopt is in a DLL and the symbols are already imported with dllimport via standard header files.
* * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONSEven Rouault2014-12-211-3/+16
| | | | | | or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or COMPRESSION_CCITTFAX4 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128)
* * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message soBob Friesenhahn2010-03-101-1/+8
| | | | | that it is clearly a memory allocation error message, and also includes the size of the allocation request.
* introduce libport.h prototypes to reduce warningsFrank Warmerdam2009-01-221-1/+5
|
* Fix 64-bit warnings when compiling under MSVC 2005 (x64).Frank Warmerdam2008-01-011-3/+3
|
* Fixed floating point comparison logic as per bugAndrey Kiselev2006-06-081-2/+3
| | | | http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
* * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printfBob Friesenhahn2005-12-291-2/+2
| | | | | format. * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
* Avoid warnings.Andrey Kiselev2005-09-131-2/+2
|
* Avoid warnings.Andrey Kiselev2005-06-231-9/+18
|
* Added ability to compare the 32-bit integer and floating point data; complainAndrey Kiselev2005-03-091-48/+124
| | | | on unsupported bit depths.
* Use properly sized buffer in short arrays compirison as per bugAndrey Kiselev2005-03-041-2/+5
| | | | http://bugzilla.remotesensing.org/show_bug.cgi?id=785
* * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoidBob Friesenhahn2004-10-141-4/+4
| | | | | conflict noticed under MinGW. * ltmain.sh: Fix for MinGW compilation.
* Avoid warnings.Andrey Kiselev2004-09-031-1/+9
|
* Avoid warnings.Andrey Kiselev2004-06-041-2/+3
|
* Fixed problem with unused data comparing as per bugAndrey Kiselev2003-06-181-11/+28
| | | | | http://bugzilla.remotesensing.org/show_bug.cgi?id=349 `-z' option now can be used to set the number of reported different bytes.
* Fixed multi samples per pixel support for ContigCompare.Frank Warmerdam2001-06-291-26/+61
| | | | See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
* Fixed stopondiff testing so that -l works.Frank Warmerdam2000-02-161-4/+4
| | | | Patch from: Joseph Orost <joe@sanskrit.lz.att.com>
* Initial revisionMike Welles1999-07-271-0/+483