| 1 |
Changes in TIFF v4.3.0 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v4.3.0 (:tag:`v4.3.0`) |
| 9 |
Previous Version :doc:`v4.2.0 <v4.2.0>` |
| 10 |
Master Download Site `<https://download.osgeo.org/libtiff/>`_ |
| 11 |
Master HTTP Site #1 `<http://www.simplesystems.org/libtiff/>`_ |
| 12 |
Master HTTP Site #2 `<https://libtiff.gitlab.io/libtiff/>`_ |
| 13 |
Master HTTP Site #3 `<http://libtiff.maptools.org/>`_ |
| 14 |
====================== ========================================== |
| 15 |
|
| 16 |
This document provides a summary of significant changes made to the |
| 17 |
software between the *previous* and *current* versions (see |
| 18 |
above). A fully-detailed change summary is provided by the :file:`ChangeLog` file |
| 19 |
included in the release package and by the Git commit history: |
| 20 |
|
| 21 |
Major changes |
| 22 |
------------- |
| 23 |
|
| 24 |
* Build and usage of the library and its utilities requires a C99 capable |
| 25 |
compiler. |
| 26 |
|
| 27 |
* New optional codec for the LERC (Limited Error Raster Compression) compression scheme. |
| 28 |
To have it available, configure libtiff against the SDK available at |
| 29 |
`<https://github.com/esri/lerc>`_ |
| 30 |
|
| 31 |
* CMake build: revamp of build scripts |
| 32 |
|
| 33 |
Software configuration changes |
| 34 |
------------------------------ |
| 35 |
|
| 36 |
* cmake: revamp of the cmake build scripts. There are impacts on the case of |
| 37 |
some options. |
| 38 |
|
| 39 |
* cmake: update minimum version and policy version to 3.9. |
| 40 |
|
| 41 |
* Remove NMake build support. The functionality provided by the NMake build |
| 42 |
is now completely superseded by the CMake build. |
| 43 |
|
| 44 |
* Remove antiquated Scons and makefile.lcc build support. |
| 45 |
|
| 46 |
* Remove non-functional VMS and WinCE support. |
| 47 |
|
| 48 |
* :file:`autogen.sh` now updates :file:`config.guess` and :file:`config.sub` from master gnulib version. |
| 49 |
|
| 50 |
Library changes |
| 51 |
--------------- |
| 52 |
|
| 53 |
* Use of :c:type:`int8`, :c:type:`uint8`, :c:type:`int16`, :c:type:`uint16`, |
| 54 |
:c:type:`int32`, :c:type:`uint32`, :c:type:`int64`, :c:type:`uint64` |
| 55 |
typedefs is now deprecated. libtiff code and headers no longer use them, |
| 56 |
and use their C99 standard equivalents (with ``_t`` suffix). Those typedefs |
| 57 |
are still available, with deprecation warnings, but external code is strongly |
| 58 |
encouraged to use the corresponding C99 :file:`stdint.h` types. The deprecated |
| 59 |
types might be removed in a future release. |
| 60 |
|
| 61 |
* Removal of unused, or now useless due to C99 availability, functions in :file:`port/` |
| 62 |
|
| 63 |
* A few issues spotted by static code analysis tools fixed. Compiler |
| 64 |
warnings addressed. |
| 65 |
|
| 66 |
Tools changes |
| 67 |
------------- |
| 68 |
|
| 69 |
* In usage text, insert a line of text summarizing each tool's purpose |
| 70 |
|
| 71 |
* tiff tools: made display of compression methods and their parameters |
| 72 |
conditional on their actual availability |
| 73 |
|
| 74 |
* :program:`tiff2ps`: exit the loop in case of error (#232) |
| 75 |
|
| 76 |
* :program:`tiff2pdf`: check that tiff_datasize fits in a signed :c:type:`tsize_t` (#202) |
| 77 |
|
| 78 |
* :program:`tiffsplit`: exit with :c:macro:`EXIT_FAILURE` if there are extra args on the command line |
| 79 |
|
| 80 |
* :program:`tiffcmp`: fix comparison with pixels that are fractional number of bytes (#53) |
| 81 |
|
| 82 |
Contributed software changes |
| 83 |
---------------------------- |
| 84 |
|
| 85 |
* :file:`iptcutil.c` - set ``#ifdef _WIN32`` (was ``#ifdef WIN32``, which failed at build time) |