@@ -54,22 +54,23 @@ them) of built in items that regular. These have one of three call
5454signatures:
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
6061In libtiff4, the individual integer like numeric items are passed as
616232 bit ints (signed or unsigned as appropriate) even if the actual
6263item is a short or char. The individual rational and floating point
6364types 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
6667the correct type, short for short.
6768
6869UNDONE -- This isn't quite true: The count is only used for items
6970where field_passcount is true. Then if ``field->writecount `` ==
7071``TIFF_VARIABLE2 ``, then it's a ``uint32 ``, otherwise count is an int.
7172Otherwise, 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
7475the ``field_writecount ``.
7576
0 commit comments