Commit Graph

2747 Commits

Author SHA1 Message Date
Frank Warmerdam
da49b1d230 ensure fax3/4 runs array is initialized 2012-06-13 00:27:20 +00:00
Frank Warmerdam
0615e2a2b6 avoid pretty printing values without proper rawdata 2012-06-08 05:15:21 +00:00
Frank Warmerdam
2adf098410 improve handling of PAGENUMBER, HALFTONEHINTS, YCBCRSUBSAMPLING and DOTRANGE 2012-06-06 06:06:20 +00:00
Frank Warmerdam
b246f148ff nicer way to avoid reading data for non-image directories 2012-06-06 06:05:29 +00:00
Frank Warmerdam
7e632eb41c treat illegal ycbcrsubsampling as runtime error, not assertion 2012-06-06 05:33:55 +00:00
Frank Warmerdam
03cfd4f542 avoid memory leak 2012-06-06 05:26:37 +00:00
Frank Warmerdam
a14505cf0a add custom directory read/write testing 2012-06-06 04:58:29 +00:00
Frank Warmerdam
783c1ba4ce add TIFFCreate{Custom,EXIF}Directory() functions 2012-06-06 04:58:00 +00:00
Frank Warmerdam
0725eccdc2 avoid special handling of PAGENUMBER, HALFTONEHINTS, YCBCRSUBSAMPLING and DOTRANGE in non-image directories 2012-06-06 04:56:01 +00:00
Frank Warmerdam
9bb720cd44 remove unused variable in CMKY code 2012-06-06 00:17:49 +00:00
Frank Warmerdam
672946cf9b avoid adjusting h/v_sampling in JPEGPreDecode() 2012-06-05 03:24:30 +00:00
Frank Warmerdam
b3dadc7ff3 avoid reading imagery with -D in EXIF directories 2012-06-01 23:22:53 +00:00
Frank Warmerdam
86a9d53d9e Added _SEPARATED CMKY support (#2379) 2012-06-01 22:22:04 +00:00
Frank Warmerdam
bd0ea9c546 fix stdarg mispelling (#2322) 2012-06-01 22:02:44 +00:00
Frank Warmerdam
ecf4fed966 use strerror() for open error messages on unix (#2341) 2012-06-01 21:40:58 +00:00
Frank Warmerdam
f8fcbec59d fix serious issues with JPEGDecodeRaw() (bug 2386) Also some whitespace reformatting 2012-06-01 21:08:51 +00:00
Frank Warmerdam
7f67da5de1 add jpeg in tiff decode testing 2012-06-01 21:04:22 +00:00
Tom Lane
1358a916eb Add self to committers list. 2012-06-01 18:43:21 +00:00
Frank Warmerdam
52e121504b fix buffer overrun in JPEGDecodeRaw() with mixed up sampling 2012-06-01 01:30:55 +00:00
Frank Warmerdam
9184521f3f make sure tif_rawdatasize is zeroed when tif_rawdata is freed/cleared 2012-06-01 00:55:09 +00:00
Frank Warmerdam
0dd52ae391 Add alpha grayscale image support to TIFFReadRGBAImage 2012-06-01 00:38:39 +00:00
Frank Warmerdam
79a2449b27 fix handling of tags in custom directories which happen to match standard tags but are defined differently in the custom dir 2012-05-30 04:58:13 +00:00
Frank Warmerdam
047f4120df avoid inappropriate use of tif_rawdata when it is a pointer into mmaped file 2012-05-30 01:50:17 +00:00
Frank Warmerdam
bcc1656171 Allocate working buffer one word larger since we "forward accumulate" and overwrite the end by one word in at least some cases. 2012-05-24 23:21:45 +00:00
Frank Warmerdam
c6d8cdcf29 avoid accessing out of the lookup arrays for out of range inputs. 2012-05-24 05:25:14 +00:00
Frank Warmerdam
920688aac5 avoid uninitialized variable for degenerate files 2012-05-24 03:50:31 +00:00
Frank Warmerdam
dbfa4e6f60 if OJPEGWriteHeader() fails once do not bother trying again on the same image. 2012-05-24 03:15:18 +00:00
Frank Warmerdam
c073384446 make things more resilient in the face of files without stripbytecounts or stripoffsets or where loading these fails. 2012-05-24 02:43:51 +00:00
Frank Warmerdam
af47ad26e2 be careful about whether min/max values per singular or per sample 2012-05-24 02:29:06 +00:00
Frank Warmerdam
e54e9545a0 fix crash with odd 16bit count types for some custom fields 2012-05-24 01:40:24 +00:00
Frank Warmerdam
c634536376 avoid one byte past end of ink names reading in some cases 2012-05-24 01:03:37 +00:00
Bob Friesenhahn
b298ae255c * man/TIFFGetField.3tiff: Correct the 'count' field type in the
example for how to retreive the value of unsupported tags.
2012-05-19 23:15:22 +00:00
Frank Warmerdam
f502a159f9 Fix size overflow (zdi-can-1221,CVE-2012-1173) care of Tom Lane @ Red Hat. 2012-04-06 16:46:31 +00:00
Frank Warmerdam
7017b048e1 note vs in topic and mailing list url 2012-04-06 16:45:55 +00:00
Frank Warmerdam
97a32305c9 new 2012-03-30 16:30:34 +00:00
Frank Warmerdam
7e03e5ccbd Update to reference correct sample files. 2012-03-28 18:12:26 +00:00
Bob Friesenhahn
75b1743466 * libtiff 4.0.1 released. 2012-02-18 22:11:19 +00:00
Bob Friesenhahn
d766e7c5a0 * Update automake used to 1.11.3. 2012-02-18 21:58:02 +00:00
Bob Friesenhahn
7cbc7dce84 Record changes for libtiff 4.0.1 2012-02-18 21:53:27 +00:00
Bob Friesenhahn
7802e5ba91 Strip out antique instructions about unsupported build targets. 2012-02-18 21:36:31 +00:00
Bob Friesenhahn
c3d1b83b0d * libtiff/tiffio.h: Use double-underbar syntax in GCC printf
attribute specification to lessen the risk of accidental macro
substitution.  Patch from Vincent Torri.
2012-02-18 16:20:26 +00:00
Frank Warmerdam
b2a9c9542a Clarify the fix applied for bug 1994 with a comment. 2012-02-01 02:24:47 +00:00
Frank Warmerdam
3bdfb317f4 adjustments for security/null pointer issues - I do not think any of them are real, but they make future security audits easier 2012-02-01 01:51:00 +00:00
Bob Friesenhahn
b326998fc2 * configure.ac: Add support for using library symbol versioning on
ELF systems with the GNU linker.  Support is enabled via
--enable-ld-version-script.  Disabled by default for now until
there is a decision for how to deploy a libtiff with versioned
symbols after libtiff 4.0.0 was already released.
2012-01-22 19:50:36 +00:00
Bob Friesenhahn
306ae2fb9f * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
tif_win32.c.  Patch by Edward Lam.
2011-12-22 17:07:57 +00:00
Bob Friesenhahn
d338f7fe22 * configure.ac: Add libtiff private dependency on -llzma for
pkg-config.  Patch by Mark Brand.
Updated Automake to 1.11.2.
2011-12-22 17:03:48 +00:00
Bob Friesenhahn
f7b79dc7dc Released libtiff 4.0.0. 2011-12-22 00:29:28 +00:00
Frank Warmerdam
20499fa9b1 more cautious testing of _TIFFFillStriles() results (gdal #4372) 2011-12-09 03:29:10 +00:00
Frank Warmerdam
7d9fbf6d9d fix crash with invalid files, strip chopping and deferred strile loading (gdal #4372) 2011-12-08 05:48:39 +00:00
Frank Warmerdam
ee5c8c505e fix error reporting when there is no tag information struct and name (gdal #4373) 2011-12-08 05:43:26 +00:00