summaryrefslogtreecommitdiff
path: root/tiff/html/v3.8.0.html
blob: 914dcb0c55d5f093df8bdef4bbc0e7839858427d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<HTML>
<HEAD>
<TITLE>
	Changes in TIFF v3.8.0
</TITLE>
</HEAD>

<BODY BGCOLOR=white>
<FONT FACE="Helvetica, Arial, Sans">
<FONT FACE="Helvetica, Arial, Sans"> 

<BASEFONT SIZE=4>
<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
<BASEFONT SIZE=3>

<UL>
<HR SIZE=4 WIDTH=65% ALIGN=left>
<B>Current Version</B>: v3.8.0<BR>
<B>Previous Version</B>: <A HREF=v3.7.4.html>v3.7.4</a><BR>
<B>Master FTP Site</B>: <A HREF="ftp://ftp.remotesensing.org/pub/libtiff">
ftp.remotesensing.org</a>, directory pub/libtiff</A><BR>
<B>Master HTTP Site</B>: <A HREF="http://www.remotesensing.org/libtiff">
http://www.remotesensing.org/libtiff</a> 
<HR SIZE=4 WIDTH=65% ALIGN=left>
</UL>

<P>
This document describes the changes made to the software between the
<I>previous</I> and <I>current</I> versions (see above).
If you don't find something listed here, then it was not done in this
timeframe, or it was not considered important enough to be mentioned.
The following information is located here:
<UL>
<LI><A HREF="#hightlights">Major Changes</A>
<LI><A HREF="#configure">Changes in the software configuration</A>
<LI><A HREF="#libtiff">Changes in libtiff</A>
<LI><A HREF="#tools">Changes in the tools</A>
<LI><A HREF="#contrib">Changes in the contrib area</A>
</UL>
<p> 
<P><HR WIDTH=65% ALIGN=left>

<!--------------------------------------------------------------------------->

<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>

<UL>
	<li> Read-only support for custom directories (e.g. EXIF directory).

	<li> Preliminary support for MS MDI format.
</UL>


<P><HR WIDTH=65% ALIGN=left>
<!--------------------------------------------------------------------------->

<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>

<UL>
	<li> Make the default strip size configurable via the
	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
</UL>

<P><HR WIDTH=65% ALIGN=left>

<!--------------------------------------------------------------------------->

<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>

<UL>
	<li> tiffio.h: Added VC_EXTRALEAN definition before including
	windows.h, to reduce the compile time.

	<li> tif_jpeg.c: Improve compilation under MinGW.

	<li> {tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
	StoNits tags custom.

	<li> {tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
	WhitePoint tag custom.

	<li> tiffio.h: fixed typo that potentially resulted in 
	redefininition of USE_WIN32_FILEIO

	<li> {tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
	Photoshop and ICCProfile tags custom.

	<li> libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 
	newer code to get context indicator in error handler and still
	remain compatible with older code: Done TIFFError calls everywhere 
	except in tools.

	<li> tiffinfo.c: Print EXIF directory contents if exist.

	<li> {tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
	Custom directory read-only support.

	<li> {tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
	tags custom.

	<li> tif_dirread.c: One more workaround for broken StripByteCounts
	tag. Handle the case when StripByteCounts array filled with
	completely wrong values.

	<li> tif_dirinfo.c: Release file descriptor in case of failure
	in the TIFFOpenW() function as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1003">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003</a>

	<li> tif_dirinfo.c: Correctly yse bsearch() and lfind()
	functions as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1008">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008</a>

	<li> tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
	for MS MDI format.
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1002">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002</a>

	<li> libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
	public.

	<li> /tif_dirinfo.c: Make XResolution, YResolution and
	ResolutionUnit tags modifiable during write process. As per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=977">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=977</a>

	<li> if_dirread.c: Don't try and split single strips into "0" strips
	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)

	<li> tif_fax3.c: changed 'at scanline ...' style warning/errors
	with incorrect use of tif_row, to 'at line ... of
	strip/tile ...' style.
</UL>

<P><HR WIDTH=65% ALIGN=left>

<!-------------------------------------------------------------------------->
	
<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>

<UL>
	<li> tiffcp.c: Added many error reporting messages; fixed integer
	overflow as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=789">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=789</a>

	<li> tiffcp.c: Return non-zero status when reading fails.

	<li> fax2tiff.c: Properly calculate sizes of temporary arrays
	as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=943">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=943</a>

	<li> fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
	as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=944">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=944</a>

	<li> tiffdump.c: Fixed typeshift and typemask arrays initialization
	problem as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=946">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=946</a>

	<li> bmp2tiff.c: Fixed possible integer overflow error as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=965">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=965</a>

	<li> tiffsplit.c: Copy fax related fields over splitted parts
	as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=983">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=983</a>

	<li> tiffdump.c: Fixed crash when reading malformed tags.

	<li> tiff2pdf.c: Added missed 'break' statement as per bug
	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=932">
	http://bugzilla.remotesensing.org/show_bug.cgi?id=932</a>
</UL>

<P><HR WIDTH=65% ALIGN=left>

<!--------------------------------------------------------------------------->

<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>

<UL> 
	<li> contrib/addtiffo/*: Major upgrade by Joris to support subsampled
	YCbCr images in jpeg compressed TIFF files.

</UL>

Last updated $Date: 2006/01/04 23:38:38 $.

</BODY>
</HTML>