From 690cc7a701415325be6813ec25e83bb832f1a984 Mon Sep 17 00:00:00 2001
From: Thomas Bernard
Date: Thu, 5 Mar 2020 11:38:31 +0100
Subject: [PATCH] fix HTML files so they are valid according to
https://validator.w3.org
---
html/addingtags.html | 17 ++++++----
html/bigtiffdesign.html | 5 +--
html/bugs.html | 13 ++++---
html/build.html | 14 ++++----
html/contrib.html | 17 ++++++----
html/document.html | 11 ++++--
html/images.html | 11 ++++--
html/internals.html | 75 +++++++++++++++++++++++------------------
html/intro.html | 13 ++++---
html/misc.html | 16 +++++----
html/tools.html | 17 ++++++----
11 files changed, 129 insertions(+), 80 deletions(-)
diff --git a/html/addingtags.html b/html/addingtags.html
index c61a2623..bd4b972a 100644
--- a/html/addingtags.html
+++ b/html/addingtags.html
@@ -1,11 +1,16 @@
+
Modifying The TIFF Library
+
-
-
+
Defining New TIFF Tags
@@ -198,8 +203,8 @@ If tag definitions are only required for writing custom tags, you can just
call TIFFMergeFieldInfo() before setting new tags. The whole extender
architecture can then be avoided.
-Adding New Builtin Tags
-
+
+
A similar approach is taken to the above. However, the TIFFFieldInfo
should be added to the tiffFieldInfo[] list in tif_dirinfo.c. Ensure that
new tags are added in sorted order by the tag number.
@@ -238,8 +243,8 @@ about data types. Use the typedefs (uint16, etc. when dealing with
data on disk and t*_t when stuff is in memory) and be careful about
passing items through printf or similar vararg interfaces.
-Adding New Codec-private Tags
-
+
+
To add tags that are meaningful only when a particular compression
algorithm is used follow these steps:
diff --git a/html/bigtiffdesign.html b/html/bigtiffdesign.html
index 407173ff..814c28af 100644
--- a/html/bigtiffdesign.html
+++ b/html/bigtiffdesign.html
@@ -1,4 +1,5 @@
-
+
+
BigTIFF Design
@@ -33,7 +34,7 @@ other parties.
Header bytes 8-15 contain the 8-byte offset to the first IFD.
Value/Offset fields are 8 bytes long, and take up bytes 8-15 in an IFD entry.
- - If the value is <= 8 bytes, it must be stored in the field.
+ - If the value is <= 8 bytes, it must be stored in the field.
- All values must begin at an 8-byte-aligned address.
8-byte offset to the Next_IFD, at the end of an IFD.
To keep IFD entries 8-byte-aligned, we begin with an 8-byte (instead of 2-byte) count of the number of directory entries.
diff --git a/html/bugs.html b/html/bugs.html
index bc27955e..a05a4659 100644
--- a/html/bugs.html
+++ b/html/bugs.html
@@ -1,11 +1,16 @@
+
Bugs and the TIFF Mailing List
+
-
-
+
-
+
Bugs, Bugzilla, and the TIFF Mailing List
@@ -27,7 +32,7 @@ the problem is still reproducible with the current development software
from CVS.
If you'd like to enter a new bug, you can do so at
-https://gitlab.com/libtiff/libtiff/issues/new.
+https://gitlab.com/libtiff/libtiff/issues/new.
If you'd like to inform us about some kind of security issue that should not
be disclosed for a period of time, then you can contact maintainers directly.
diff --git a/html/build.html b/html/build.html
index fbd92d7d..4186645b 100644
--- a/html/build.html
+++ b/html/build.html
@@ -1,14 +1,16 @@
-
Building the TIFF Software Distribution
+
- Building the Software Distribution
+
+Building the Software Distribution
- Building on all systems with CMake.
- Building on a UNIX system with Autoconf.
@@ -229,7 +231,6 @@ available zlib distribution written by Jean-loup Gailly and
Mark Adler; this software is available at http://www.zlib.org/.
-
Building on a UNIX System with Autoconf
@@ -421,7 +422,6 @@ enabled the DIRS_LIBINC and DIR_GZLIB parameters
should also be set (see below). By default this package is not
configured.
-
Building the Software under Windows 2000/XP/7/8/10 with nmake
diff --git a/html/contrib.html b/html/contrib.html
index f20a1cb3..9a670658 100644
--- a/html/contrib.html
+++ b/html/contrib.html
@@ -1,14 +1,18 @@
+
Contributed TIFF Software
+
-
-
-
+
-
+
Contributed TIFF Software
@@ -155,11 +159,10 @@ various routines from Conrad Poelman; a TIFF image iterator and
-A utility by Bill Radcliffe to
+A utility by Bill Radcliffe to
convert an extracted IPTC Newsphoto caption from a binary blob to
ASCII text, and vice versa. IPTC binary blobs can be extracted from
-images via the ImageMagick convert(1)
+images via the ImageMagick convert(1)
utility.
diff --git a/html/document.html b/html/document.html
index 71d04126..a9750933 100644
--- a/html/document.html
+++ b/html/document.html
@@ -1,13 +1,18 @@
+
TIFF Documentation
+
-
-
+
-
+
TIFF Documentation
diff --git a/html/images.html b/html/images.html
index 6e2e29be..c93f38bf 100644
--- a/html/images.html
+++ b/html/images.html
@@ -1,13 +1,18 @@
+
TIFF Test Images
+
-
-
+
-
+
TIFF Test Images
diff --git a/html/internals.html b/html/internals.html
index 8d94e5ce..20061ef0 100644
--- a/html/internals.html
+++ b/html/internals.html
@@ -1,13 +1,18 @@
+
Modifying The TIFF Library
+
-
-
+
-
+
Modifying The TIFF Library
@@ -19,18 +24,19 @@ how to add new support to the library.
The following sections are found in this chapter:
-
Library Configuration
-
+
+Library Configuration
+
Information on compiling the library is given
elsewhere in this documentation.
This section describes the low-level mechanisms used to control
@@ -71,11 +77,11 @@ To override the default compression behaviour define
to enable configuration of the appropriate codecs (see the table
below); e.g.
-
+
#define COMPRESSION_SUPPORT
#define CCITT_SUPPORT
#define PACKBITS_SUPPORT
-
+
Several other compression schemes are configured separately from
the default set because they depend on ancillary software
@@ -87,7 +93,7 @@ The JPEG codec that comes with libtiff is designed for
use with release 5 or later of the Independent JPEG Group's freely
available software distribution.
This software can be retrieved from the directory
-ftp.uu.net:/graphics/jpeg/.
+ftp.uu.net:/graphics/jpeg/.
@@ -103,14 +109,14 @@ for use with version 0.99 or later of the freely available
libz library written by Jean-loup Gailly and Mark Adler.
The data format used by this library is described
in the files
-zlib-3.1.doc,
+zlib-3.1.doc,
and
-deflate-1.1.doc,
+deflate-1.1.doc,
available in the directory
-ftp.uu.net:/pub/archiving/zip/doc.
+ftp.uu.net:/pub/archiving/zip/doc.
The library can be retried from the directory
-ftp.uu.net:/pub/archiving/zip/zlib/
-(or try quest.jpl.nasa.gov:/beta/zlib/).
+ftp.uu.net:/pub/archiving/zip/zlib/
+(or try quest.jpl.nasa.gov:/beta/zlib/).
@@ -205,15 +211,15 @@ run-length encoding scheme from ThunderScan (compression 32809) |
The ICC Profile Format Specification,
Annex B.3 "Embedding ICC Profiles in TIFF Files";
available at
-http://www.color.org
+http://www.color.org
-
-
General Portability Comments
-
+
+General Portability Comments
+
This software is developed on Silicon Graphics UNIX
systems (big-endian, MIPS CPU, 32-bit ints,
IEEE floating point).
@@ -271,7 +277,7 @@ codecs for optimization purposes.
The following defines control general portability:
-
+
BSDTYPES |
@@ -317,8 +323,9 @@ Note that tiffcomp.h defines HAVE_IEEEFP to be
1 (BSDTYPES is not defined).
-
Types and Portability
-
+
+Types and Portability
+
The software makes extensive use of C typedefs to promote portability.
Two sets of typedefs are used, one for communication with clients
of the library and one for internal data structures and parsing of the
@@ -328,7 +335,7 @@ purely by fiddling with the following machine-dependent typedefs:
-
+
uint8 |
@@ -385,10 +392,10 @@ structure:
-
+
-typedef unsigned int ttag_t; | directory tag |
+typedef unsigned int ttag_t; | directory tag |
@@ -451,8 +458,9 @@ passed as opaque handles and only cast at the lowest layers where
their type is presumed.
-
General Comments
-
+
+General Comments
+
The library is designed to hide as much of the details of TIFF from
applications as
possible. In particular, TIFF directories are read in their entirety
@@ -460,7 +468,9 @@ into an internal format. Only the tags known by the library are
available to a user and certain tag data may be maintained that a user
does not care about (e.g. transfer function tables).
-
Adding New Builtin Codecs
+
+Adding New Builtin Codecs
+
To add builtin support for a new compression algorithm, you can either
use the "tag-extension" trick to override the handling of the
@@ -514,8 +524,9 @@ encoded or decoded if the image is organized with PlanarConfig=2
(separate planes). This is important for algorithms such as JPEG.
If PlanarConfig=1 (interleaved), then sample will always be 0.
-
Other Comments
-
+
+Other Comments
+
The library handles most I/O buffering. There are two data buffers
when decoding data: a raw data buffer that holds all the data in a
strip, and a user-supplied scanline buffer that compression schemes
diff --git a/html/intro.html b/html/intro.html
index 83902f61..ad3b2d91 100644
--- a/html/intro.html
+++ b/html/intro.html
@@ -1,13 +1,18 @@
+
Introduction to the TIFF Documentation
+
-
-
+
-
+
Introduction to the TIFF Documentation
@@ -37,7 +42,7 @@ They are consistent with the terminology used in the TIFF 6.0 specification.
- Codec
- Software that implements the decoding and encoding algorithms
of a compression scheme.
-
+
In order to better understand how TIFF works (and consequently this
diff --git a/html/misc.html b/html/misc.html
index b30eb676..69d3ba18 100644
--- a/html/misc.html
+++ b/html/misc.html
@@ -1,13 +1,18 @@
+
Acknowledgments and Other Issues
+
-
-
+
-
+
Acknowledgments and Other Issues
@@ -84,7 +89,7 @@ the more persistent contributors have been:
Use and Copyright
-
+
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.
@@ -106,9 +111,8 @@ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
OF THIS SOFTWARE.
-
+
-
diff --git a/html/tools.html b/html/tools.html
index c669543a..d567ad8a 100644
--- a/html/tools.html
+++ b/html/tools.html
@@ -1,14 +1,16 @@
-
TIFF Tools Overview
+
- TIFF
-Tools Overview
+
+TIFF Tools Overview
This software distribution comes with a small collection of
programs for converting non-TIFF format images to TIFF and for
manipulating and interrogating the contents of TIFF images. Several
@@ -30,6 +32,7 @@ facilities described elsewhere.
Device-independent Programs
The remaining programs should be device-independent:
+
fax2ps |
Convert a Group 3- or Group 4- compressed TIFF to PostScript
that is significantly more compressed than is generated by
@@ -39,6 +42,7 @@ that is significantly more compressed than is generated by
| fax2tiff |
Convert raw Group 3 or Group 4 facsimile data to TIFF |
+
pal2rgb |
Convert a Palette-style image to a full color RGB image by
applying the colormap |
@@ -47,6 +51,7 @@ applying the colormap
ppm2tiff |
A quick hack that converts 8-bit PPM format images to TIFF |
+
raw2tiff |
Create a TIFF file from raw data |
@@ -56,7 +61,7 @@ applying the colormap
TIFF image; it's mainly provided for testing
-thumbnail |
+thumbnail |
Copy a bilevel TIFF to one that includes 8-bit greyscale
"thumbnail images" for each page; it is provided as an example of
how one might use the SubIFD tag (and the library support
|