Debian Codegraph @

doc/releases/v3.6.1.rst

raw
1 Changes in TIFF v3.6.1
2 ======================
3
4 .. table:: References
5 :widths: auto
6
7 ====================== ==========================================
8 Current Version v3.6.1 (:tag:`Release-v3-6-1`)
9 Previous Version :doc:`v3.6.0 <v3.6.0>`
10 Master Download Site `<https://download.osgeo.org/libtiff/>`_
11 Master HTTP Site `<http://www.simplesystems.org/libtiff/>`_
12 ====================== ==========================================
13
14 This document describes the changes made to the software between the
15 *previous* and *current* versions (see above).
16 If you don't find something listed here, then it was not done in this
17 timeframe, or it was not considered important enough to be mentioned.
18 The following information is located here:
19
20
21 Major changes
22 -------------
23
24 * New utility :program:`tiff2pdf`
25 for converting TIFF images directly into PDF.
26 * New :doc:`/functions/TIFFcolor` color conversion module.
27 * Full support for ``Orientation`` tag in ``TIFFRGBAImage`` interface.
28 * Many bugs fixed.
29
30
31 Software configuration changes
32 ------------------------------
33
34 * :file:`libtiff/makefile.vc`, :file:`tools/makefile.vc`: Support for IJG JPEG library.
35
36 * :file:`Makefile.in`: Add an absolute path to the :file:`test_pics.sh` call.
37
38 * :file:`Makefile.in`: Add an absolute path to the :file:`test_pics.sh` call.
39
40 * :file:`libtiff/tiffcomp.h`: ``#define _BSDTYPES_DEFINED`` when defining BSD typedefs.
41
42 * :file:`configure`, :file:`libtiff/Makefile.in`, :file:`libtiff/mkversion.c`: Relative buildings fixed.
43
44 * :file:`Makefile.in`: Add an absolute path to the :file:`test_pics.sh` call.
45
46
47 Library changes
48 ---------------
49
50 * :file:`libtiff/tif_color.c`, :file:`libtiff/tif_getimage.c`, :file:`libtiff/tiffio.h`:
51 Added support for ``ReferenceBlackWhite`` tag handling when converted from YCbCr color space as
52 per bug :bugzilla-rs:`120`.
53
54 * :file:`libtiff/tif_getimage.c`, :file:`libtiff/tif_aux.c`: Read ``WhitePoint`` tag from the
55 file and properly use it for CIE Lab 1976 to RGB transform.
56
57 * :file:`libtiff/tif_getimage.c`, :file:`libtiff/tiffio.h`: Finally resolved problems with
58 orientation handling. ``TIFFRGBAImage`` interface now properly supports all
59 possible orientations, i.e. images will be flipped both in horizontal and
60 vertical directions if required. 'Known bugs' section now removed from the
61 appropriate manual pages.
62
63 * :file:`libtiff/tif_luv.c`: Fixed bug in 48-bit to 24-bit conversion routine,
64 reported by Antonio Scuri.
65
66 * :file:`libtiff/tiffio.h`, :file:`libtiff/tif_codec.c`: Added new function
67 :c:func:`TIFFIsCODECConfigured`, suggested by Ross Finlayson.
68
69 * :file:`libtiff/tif_ojpeg.c`: :c:func:`TIFFVGetField` function now can properly extract
70 the fields from the OJPEG files. Patch supplied by Ross Finlayson.
71
72 * :file:`libtiff/tif_dir.h`: :c:func:`_TIFFFindOrRegisterdInfo` declaration replaced
73 with :c:func:`_TIFFFindOrRegisterFieldInfo` as reported by Ross Finlayson.
74
75 * :file:`libtiff/tif_dirinfo.c`: Implemented binary search in :c:func:`_TIFFMergeFieldInfo`.
76 Patch supplied by Ross Finlayson.
77
78 * :file:`tif_dirread.c`: do not mark all anonymously defined tags to be ``IGNORE`` (as
79 it was done in 3.6.0).
80
81 * :file:`libtiff/tiff.h`, :file:`libtiff/tif_dirinfo.c`: Added support for IFD (13) datatype,
82 introduced in "Adobe PageMaker TIFF Technical Notes".
83
84 * :file:`libtiff/tif_color.c`, :file:`libtiff/tif_getimage.c`, :file:`libtiff/tiffio.h`: New color space
85 conversion code: CIE L*a*b* 1976 images now supported by the ``TIFFRGBAImage``
86 interface. YCbCr to RGB conversion code also moved there and now has
87 :doc:`/functions/TIFFcolor` publicly available interface. These
88 routines currently used in ``TIFFRGBAImage`` interface only and not supported in
89 other libtiff tools yet. So if you want, for example, to convert CIE Lab image
90 into PostScript file you should do it in two steps: change colorspace to RGB
91 using :program:`tiff2rgba` utility and then process
92 it with the :program:`tiff2ps`.
93
94 * :file:`libtiff/tif_tile.c`: Remove spurious use of "s" (sample) in the
95 ``planarconfig_contig`` case in :c:func:`TIFFComputeTile` as per bug :bugzilla-rs:`387`.
96
97 * :file:`libtiff/tiffiop.h`: New macros: :c:macro:`TIFFmax` and :c:macro:`TIFFmin`.
98
99 * :file:`libtiff/tiffio.h`, :file:`libtiff/tif_strip.c`: Added :c:func:`TIFFRawStripSize` function
100 as suggested by Chris Hanson.
101
102 * :file:`libtiff/tif_lzw.c`, :file:`libtiff/tif_fax3.c`: Proper support for update mode
103 as per bug :bugzilla-rs:`424`.
104
105
106 Tools changes
107 -------------
108
109 * :program:`tiff2pdf`:: New tool, written by
110 Ross Finlayson, to directly convert TIFF files to PDF.
111
112 * :program:`tiffgt`: Unmaintained and platform
113 dependent sgigt utility removed and replaced with the completely rewritten
114 portable tool (depend on OpenGL and
115 GLUT). This tool will not build by default.
116
117 * :program:`ras2tiff`: Properly determine
118 SUN Rasterfiles with the reverse byte order (it is reported by the magic
119 header field). Problem reported by Andreas Wiesmann.
120
121 * :program:`raw2tiff`: Implemented image size
122 guessing using correlation coefficient calculation between two neighbour
123 lines.
124
125
126 Contributed software changes
127 ----------------------------
128
129 * :file:`contrib/pds/tif_pdsdirread.c`, :file:`contrib/pds/tif_pdsdirwrite.c`:
130 Use :c:func:`TIFFDataWidth` function instead of :c:var:`tiffDataWidth` array.
131
132 LZW compression kit changes
133 ---------------------------
134
135 * Proper support for update mode as per bug :bugzilla-rs:`424`.