| 1 |
Changes in TIFF v3.8.1 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v3.8.1 (:tag:`Release-v3-8-1`) |
| 9 |
Previous Version :doc:`v3.8.0 <v3.8.0>` |
| 10 |
Master Download Site `<https://download.osgeo.org/libtiff/>`_ |
| 11 |
Master HTTP Site `<http://www.simplesystems.org/libtiff/>`_ |
| 12 |
====================== ========================================== |
| 13 |
|
| 14 |
|
| 15 |
This document describes the changes made to the software between the |
| 16 |
*previous* and *current* versions (see above). |
| 17 |
If you don't find something listed here, then it was not done in this |
| 18 |
timeframe, or it was not considered important enough to be mentioned. |
| 19 |
The following information is located here: |
| 20 |
|
| 21 |
Major changes |
| 22 |
------------- |
| 23 |
|
| 24 |
* Bug-fix release. |
| 25 |
|
| 26 |
|
| 27 |
Software configuration changes |
| 28 |
------------------------------ |
| 29 |
|
| 30 |
* libtool related stuff updated from the 2.1a branch. |
| 31 |
|
| 32 |
* Fix ``with_default_strip_size`` comparison as reported by |
| 33 |
Norihiko Murase. |
| 34 |
|
| 35 |
|
| 36 |
Library changes |
| 37 |
--------------- |
| 38 |
|
| 39 |
* :file:`tif_dirread.c`: Fixed error reporting in :c:func:`TIFFFetchAnyArray` |
| 40 |
function as per bug |
| 41 |
:bugzilla-rs:`1102` |
| 42 |
|
| 43 |
* :file:`tif_jpeg.c`, :file:`tif_pixarlog.c`, :file:`tif_fax3.c`, :file:`tif_zip.c`: |
| 44 |
Properly restore ``setfield``/``getfield`` methods in cleanup functions. As |
| 45 |
per bug |
| 46 |
:bugzilla-rs:`1102` |
| 47 |
|
| 48 |
* :file:`tif_lzw.c`, :file:`tif_pixarlog.c`, :file:`tif_zip.c`: Use |
| 49 |
:c:func:`TIFFPredictorCleanup` in codec cleanup methods. As per bug |
| 50 |
:bugzilla-rs:`1102` |
| 51 |
|
| 52 |
* :file:`tif_predict.c`, :file:`tif_predict.h`: Added new function |
| 53 |
:c:func:`TIFFPredictorCleanup` to restore parent decode/encode/field methods. |
| 54 |
|
| 55 |
* :file:`tif_dirread.c`: Fixed integer overflow condition in |
| 56 |
:c:func:`TIFFFetchData` function. As per bug |
| 57 |
:bugzilla-rs:`1102` |
| 58 |
|
| 59 |
* :file:`tif_ojpeg.c`: Set the ``ReferenceBlackWhite`` with the |
| 60 |
:c:func:`TIFFSetField` method, not directly. As per bug |
| 61 |
:bugzilla-rs:`1043` |
| 62 |
|
| 63 |
* :file:`tif_write.c`: Small code rearrangement in :c:func:`TIFFWriteScanline` |
| 64 |
to avoid crash as per bug |
| 65 |
:bugzilla-rs:`1081` |
| 66 |
|
| 67 |
* :file:`tif_dirwrite.c`: Properly write ``TIFFTAG_DOTRANGE`` tag as per |
| 68 |
bug :bugzilla-rs:`1088` |
| 69 |
|
| 70 |
* :file:`tif_print.c`: Properly read :c:macro:`TIFFTAG_PAGENUMBER`, |
| 71 |
:c:macro:`TIFFTAG_HALFTONEHINTS`, :c:macro:`TIFFTAG_YCBCRSUBSAMPLING` |
| 72 |
and :c:macro:`TIFFTAG_DOTRANGE` tags as per bug |
| 73 |
:bugzilla-rs:`1088` |
| 74 |
|
| 75 |
* :file:`tif_tile.c`: Fix error reporting in :c:func:`TIFFCheckTile` as per |
| 76 |
bug :bugzilla-rs:`1063` |
| 77 |
|
| 78 |
* :file:`tif_color.c`: Avoid overflow in case of wrong input as per |
| 79 |
bug :bugzilla-rs:`1065` |
| 80 |
|
| 81 |
* :file:`tif_dirinfo.c`: Use :c:enumerator:`TIFF_NOTYPE` instead of 0 when |
| 82 |
appropriate. As per bug |
| 83 |
:bugzilla-rs:`1033` |
| 84 |
|
| 85 |
* :file:`tif_aux.c`: Fixed type of temporary variable in |
| 86 |
:c:func:`_TIFFCheckMalloc` as per bug |
| 87 |
:bugzilla-rs:`103` |
| 88 |
|
| 89 |
* :file:`tif_aux.c`: Return static array when fetching default |
| 90 |
``YCbCrCoefficients`` (another problem, reported a the |
| 91 |
:bugzilla-rs:`1029` |
| 92 |
entry). |
| 93 |
|
| 94 |
* :file:`tif_dir.c`: Special handling for ``PageNumber``, ``HalftoneHints``, |
| 95 |
``YCbCrSubsampling`` and ``DotRange`` tags as per bugs |
| 96 |
:bugzilla-rs:`1029` |
| 97 |
:bugzilla-rs:`1034` |
| 98 |
|
| 99 |
* :file:`tif_dirread.c`: Use :c:func:`_TIFFGetExifFieldInfo` instead of |
| 100 |
:c:func:`_TIFFGetFieldInfo` in :c:func:`TIFFReadEXIFDirectory` call as per bug |
| 101 |
:bugzilla-rs:`1026` |
| 102 |
|
| 103 |
* :file:`tif_dirinfo.c`: Change definitions for :c:macro:`TIFFTAG_ICCPROFILE`, |
| 104 |
:c:macro:`TIFFTAG_PHOTOSHOP`, :c:macro:`TIFFTAG_RICHTIFFIPTC`, |
| 105 |
:c:macro:`TIFFTAG_XMLPACKET`: readcount should be :c:type:`uint32` value. |
| 106 |
|
| 107 |
|
| 108 |
Tools changes |
| 109 |
------------- |
| 110 |
|
| 111 |
* :file:`ppm2tiff.c`: Added support for PBM files as per bug |
| 112 |
:bugzilla-rs:`1044` |
| 113 |
|
| 114 |
* :file:`tiff2pdf.c`: Functions :c:func:`t2p_sample_rgbaa_to_rgb` and |
| 115 |
:c:func:`t2p_sample_rgba_to_rgb` was used in place of each other, that was |
| 116 |
resulted in problems with RGBA images with associated alpha. |
| 117 |
As per bug |
| 118 |
:bugzilla-rs:`1097` |
| 119 |
|
| 120 |
* :file:`tiff2ps.c`: Properly scale all the pages when converting |
| 121 |
multipage TIFF with /width/height/center options set. As per bug |
| 122 |
:bugzilla-rs:`1080` |
| 123 |
|
| 124 |
* :file:`tiff2pdf.c`: Do not create output file until all option checks |
| 125 |
will be done. As per bug |
| 126 |
:bugzilla-rs:`1072` |
| 127 |
|
| 128 |
* :file:`bmp2tiff.c`: Added ability to create multipage TIFFs from the |
| 129 |
list of input files as per bug |
| 130 |
:bugzilla-rs:`1077` |
| 131 |
|
| 132 |
* :file:`tiffgt.c`: Avoid crashing in case of image unsupported by |
| 133 |
TIFFRGBAImage interface. |
| 134 |
|
| 135 |
* :file:`tiff2pdf.c`: Fixed support for non-YCbCr encoded JPEG |
| 136 |
compressed TIFF files, per submission from Dan Cobra. |
| 137 |
|
| 138 |
* :program:`bmp2tiff`, :program:`pal2rgb`, :program:`ppm2tiff`, :program:`ras2tiff`, |
| 139 |
:program:`raw2tiff`, :program:`sgi2tiff`, :program:`tiff2bw`, :program:`tiffcp`: |
| 140 |
Fixed jpeg option processing so ``-c jpeg:r:50`` works |
| 141 |
properly as per bug: |
| 142 |
:bugzilla-rs:`1025` |
| 143 |
|
| 144 |
Contributed software changes |
| 145 |
---------------------------- |
| 146 |
|
| 147 |
None. |