Skip to content

Commit c69500e

Browse files
committed
doc updates
1 parent e1110b5 commit c69500e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/tiff_metadata.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,23 @@ them) of built in items that regular. These have one of three call
5454
signatures:
5555

5656
* Individual: ``TIFFVSetField(tiff, tag, item)``
57-
* Multiple, passcount=1: ``TIFFVSetField(tiff, tag, ct, items* )``
5857
* Multiple, passcount=0: ``TIFFVSetField(tiff, tag, items* )``
58+
* Multiple, passcount=1: ``TIFFVSetField(tiff, tag, ct, items* )``
59+
5960

6061
In libtiff4, the individual integer like numeric items are passed as
6162
32 bit ints (signed or unsigned as appropriate) even if the actual
6263
item is a short or char. The individual rational and floating point
6364
types are all passed as a double.
6465

65-
The multipile value items are passed as pointers to packed arrays of
66+
The multiple value items are passed as pointers to packed arrays of
6667
the correct type, short for short.
6768

6869
UNDONE -- This isn't quite true: The count is only used for items
6970
where field_passcount is true. Then if ``field->writecount`` ==
7071
``TIFF_VARIABLE2``, then it's a ``uint32``, otherwise count is an int.
7172
Otherwise, if ``field_writecount`` is ``TIFF_VARIABLE`` or
72-
``TIFF_VARIABLE2``, then the count is not used and set to 1. If it's
73+
``TIFF_VARIABLE2``, then the count is not passed and 1 item is read. If it's
7374
``TIFF_SPP``, then it's set to samplesperpixel. Otherwise, it's set to
7475
the ``field_writecount``.
7576

0 commit comments

Comments
 (0)