home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc1314 < prev    next >
Text File  |  1992-04-09  |  54KB  |  1,292 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                            A. Katz
  8. Request for Comments: 1314                                      D. Cohen
  9.                                                                      ISI
  10.                                                               April 1992
  11.  
  12.  
  13.         A File Format for the Exchange of Images in the Internet
  14.  
  15. Status of This Memo
  16.  
  17.    This document specifies an IAB standards track protocol for the
  18.    Internet community, and requests discussion and suggestions for
  19.    improvements.  Please refer to the current edition of the "IAB
  20.    Official Protocol Standards" for the standardization state and status
  21.    of this protocol.  Distribution of this memo is unlimited.
  22.  
  23. Abstract
  24.  
  25.    This document defines a standard file format for the exchange of
  26.    fax-like black and white images within the Internet.  It is a product
  27.    of the Network Fax Working Group of the Internet Engineering Task
  28.    Force (IETF).
  29.  
  30.    The standard is:
  31.  
  32.         ** The file format should be TIFF-B with multi-page files
  33.            supported.  Images should be encoded as one TIFF strip
  34.            per page.
  35.  
  36.         ** Images should be compressed using MMR when possible.  Images
  37.            may also be MH or MR compressed or uncompressed.  If MH or MR
  38.            compression is used, scan lines should be "byte-aligned".
  39.  
  40.         ** For maximum interoperability, image resolutions should
  41.            either be 600, 400, or 300 dpi; or else be one of the
  42.            standard Group 3 fax resolutions (98 or 196 dpi
  43.            vertically and 204 dpi horizontally).
  44.  
  45.    Note that this specification is self contained and an implementation
  46.    should be possible without recourse to the TIFF references, and that
  47.    only the specific TIFF documents cited are relevant to this
  48.    specification.  Updates to the TIFF documents do not change this
  49.    specification.
  50.  
  51.    Experimentation with this file format specified here is encouraged.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Katz & Cohen                                                    [Page 1]
  59.  
  60. RFC 1314                 Image Exchange Format                April 1992
  61.  
  62.  
  63. 1.  Introduction
  64.  
  65.    The purpose of this document is to define a standard file format for
  66.    exchange of black and white images using the Internet.  Since many
  67.    organizations have already started to accumulate and exchange scanned
  68.    documents it is important to reach agreement about an interchange
  69.    file format in order to promote and facilitate the exchange and
  70.    distribution of such documents.  These images may originate from
  71.    scanners, software, or facsimile (fax) machines.  They may be
  72.    manipulated by software, communicated, shared, duplicated, displayed,
  73.    printed by laser printers, or faxed.
  74.  
  75.    This file format provides for the uniform transfer of high quality
  76.    images at a reasonable cost and with reasonable speed whether these
  77.    files are generated by scanners, totally by software (e.g., text-to-
  78.    fax, bitmap-to-fax, OCR, etc), or by fax.  Also the intent of this
  79.    document is to remain compatible with future moves to multi-level
  80.    (i.e., gray-scale), higher resolution, or color images.  The format
  81.    proposed here is supported by both commercially available hardware
  82.    and commercial and public domain software for most popular platforms
  83.    in current use.
  84.  
  85.    The file format for images is a totally separate issue from how such
  86.    files are to be communicated.  For example, FTP or SMTP could be used
  87.    to move an image file from one host to another, although there are
  88.    complications in the use of SMTP as currently implemented due to file
  89.    size and the need to move binary data.  (There is currently a
  90.    proposal for removing these limitations from SMTP and in particular
  91.    extending it to allow binary data.  See reference [1].)
  92.  
  93.    One major potential application of the communications format defined
  94.    here is to allow images to be sent to fax machines using the
  95.    Internet.  It is intended that one or more separate companion
  96.    documents will be formulated to address the issues of standardization
  97.    in the areas of protocols for transmitting images through the
  98.    Internet and the issues of addressing fax machines and routing faxes.
  99.    Just as the exchange format is separate from the transmission
  100.    mechanism, it is also separate from how hosts store images.
  101.  
  102.    This document specifies a common exchange format; it does not require
  103.    a host to store images in the format specified here, only to convert
  104.    between the host's local image storage formats and the exchange
  105.    format defined here for the purpose of exchanging images with other
  106.    hosts across the network.
  107.  
  108.    This standard specifies the use of TIFF (Tagged Image File Format,
  109.    see below) as a format for exchange of image files.  This is not a
  110.    specific image encoding, but a framework for many encoding
  111.  
  112.  
  113.  
  114. Katz & Cohen                                                    [Page 2]
  115.  
  116. RFC 1314                 Image Exchange Format                April 1992
  117.  
  118.  
  119.    techniques, that can be used within the TIFF framework.  For example,
  120.    within TIFF it is possible to use MMR (the data encoding of CCITT
  121.    Group 4 fax, see below), MH or MR (the data encodings of CCITT Group
  122.    3 fax), or other encoding methods.
  123.  
  124.    Which encoding technique to use is not specified here.  Instead, with
  125.    time the encoding schemes used by most document providers will emerge
  126.    as the de-facto standard.  Therefore, we do not declare any as "the
  127.    standard data encoding scheme," just as we do not declare that
  128.    English is the standard publication language.  (However, we expect
  129.    that most document providers will use MMR in the immediate future
  130.    because it offers much better compression ratios than MH or MR.)
  131.  
  132.    Similarly, TIFF does not require that an image be communicated at a
  133.    specific resolution.  Resolution is a parameter in the TIFF
  134.    descriptive header.  We do suggest that images now be sent using one
  135.    of a set of common resolutions in the interests of interoperability,
  136.    but the format accommodates other resolutions that may be required by
  137.    specialized applications or changing technologies.
  138.  
  139.    Occasionally, image files will have to be converted, such as in the
  140.    case where a document that was scanned at 400 dpi is to be printed on
  141.    a 300 dpi printer.  This conversion could be performed by the
  142.    document provider, by the consumer, or by a third party.  This
  143.    document specifies neither who performs the conversion, nor which
  144.    algorithms should be used to accomplish it.
  145.  
  146.    Note that this standard does not attempt to define an exchange format
  147.    for all image types that may be transmitted in the Internet.  Nothing
  148.    in this standard precludes it from being used for other image type
  149.    such as gray-scale (e.g., JPEG) or color images but, for the purposes
  150.    of standardization, the scope of this document is restricted to
  151.    monochromatic bitmapped images.
  152.  
  153.    The developers of this standard recognize that it may have a limited
  154.    lifespan as Office Document Architecture (ODA) matures and comes into
  155.    use in the Internet; ultimately the class of images covered by this
  156.    standard will likely be subsumed by the more general class of images
  157.    supported by the ODA standards.  However, at present, there does not
  158.    appear to be a sufficient installed base of ODA compliant software
  159.    and the ODA standards are not fully mature.  This standard is
  160.    intended to fill the need for a common image transfer format until
  161.    ODA is ready.  Finally, we believe that it should be possible to
  162.    automatically map images encoded in the format specified here into a
  163.    future ODA-based image interchange format, thus providing a
  164.    reasonable transition path to these future standards.
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Katz & Cohen                                                    [Page 3]
  171.  
  172. RFC 1314                 Image Exchange Format                April 1992
  173.  
  174.  
  175. 2.  Relationship to Fax
  176.  
  177.    Transmission of facsimile (fax) images over phone lines is becoming
  178.    increasingly widespread.  The standard of most fax machines in the
  179.    U.S.  is CCITT Group 3 (G3), specified in Recommendations T.4 and
  180.    T.30 [2] and in EIA Standards EIA-465 and EIA-466.  G3 faxes are 204
  181.    dots per inch (dpi) horizontally and 98 dpi (196 dpi optionally, in
  182.    fine-detail mode) vertically.  Since G3 neither assumes error free
  183.    transmission nor retransmits when errors occur, the encoding scheme
  184.    used is differential only over small segments never exceeding 2 lines
  185.    at standard resolution or 4 lines for fine-detail.  (The incremental
  186.    G3 encoding scheme is called two-dimensional and the number of lines
  187.    so encoded is specified by a parameter called k.)
  188.  
  189.    CCITT Group 4 fax (G4) is defined by the T.400 and T.500 series of
  190.    Recommendations as well as Recommendation T.6 [2].  It provides for
  191.    400 dpi (both vertical and horizontal) and is a fully two-dimensional
  192.    encoding scheme (k is infinite) called MMR (Modified Modified READ,
  193.    where READ stands for: Relative Element Address Designate).  G4
  194.    assumes an error free transmission medium (generally an X.25 Public
  195.    Data Network, or PDN).  Because of this, G4 is not in widespread use
  196.    in the U.S. today.
  197.  
  198.    The traditional fax bundles together four independent issues:
  199.  
  200.         (1) Data presentation and compression;
  201.         (2) Data transmission;
  202.         (3) Image input from paper ("scanning"); and
  203.         (4) Image output to paper ("printing").
  204.  
  205.    This bundling supports, for example, the high quality CCITT Group 4
  206.    (G4) images (400x400 dpi) but only over X.25 public data networks
  207.    with error correction,  and similarly it supports the mid-quality
  208.    CCITT Group 3 (204x98 and 204x196 dpi) but only over phone voice
  209.    circuits (the Switched Telephone Network, or STN) without error
  210.    correction.  This bundling does not support the use of any other data
  211.    transmission capabilities (e.g., FTP over LANs and WANs), nor
  212.    asynchrony between the scanning and the printing, nor image storage,
  213.    nor the use of the popular laser printers for output (even though
  214.    they are perfectly capable of doing so).
  215.  
  216.    In conventional fax, images are never stored.  In today's computer
  217.    network environment, a better model is:
  218.  
  219.         (1) Images are scanned into files or created by software;
  220.         (2) These image files are stored, manipulated, or communicated;
  221.         (3) Images in a file are printed or displayed.
  222.  
  223.  
  224.  
  225.  
  226. Katz & Cohen                                                    [Page 4]
  227.  
  228. RFC 1314                 Image Exchange Format                April 1992
  229.  
  230.  
  231.    The only feature of the CCITT fax that should be used is the encoding
  232.    technique (preferably MMR, but with MR or MH allowed) which may be
  233.    implemented with a variety of fax-oriented chips at low cost due to
  234.    the popularity of fax.
  235.  
  236.    "Sending a fax" means both encoding (and decoding) the fax images as
  237.    well as transmitting the data.  Since the Internet ALREADY provides
  238.    several mechanisms for data transmission (in particular, FTP for
  239.    general file transmission), it is unnecessary to use the data
  240.    transmission methods specified in the CCITT standard.  Within the
  241.    Internet, each fax image should be stored in a file and these files
  242.    could be transferred (e.g., using FTP, SMTP, RPC-based methods,
  243.    etc.).
  244.  
  245.    Fax machines should be considered just as scanners and printers are,
  246.    as I/O devices between paper and files; but not as a transmission
  247.    means.  Higher quality Group 4 images are thus supported at low cost,
  248.    while enjoying the freedom to use any computerized file transfer and
  249.    duplication mechanism, standard laser printers, multiple printing
  250.    (possibly at multiple remote sites) of the same image without having
  251.    to rescan it physically, and a variety of software for various
  252.    processing of these images, such as OCR and various drawing programs.
  253.    We should be able to interoperate with files created by fax machines,
  254.    scanners, or software and to be able to print all of them on fax
  255.    machines or on laser printers.
  256.  
  257.    The CCITT Recommendations assume realtime communications between fax
  258.    machines and do not therefore specify any kind of fax file format.
  259.    We propose using TIFF [3] which seems to be emerging as a standard,
  260.    for encapsulation of encoded images.  Because they assume realtime
  261.    communications, the CCITT fax protocols require negotiations to take
  262.    place between the sender and receiver.  For example, they negotiate
  263.    whether to use two-dimensional coding (and with what k parameter) and
  264.    what (if any) padding there is between scan lines.
  265.  
  266.    In our approach, the image in the file is already compressed in a
  267.    particular manner.  If it is to be sent to an ordinary fax machine
  268.    using a fax board/modem, that board will perform the negotiations
  269.    with the receiving fax machine.  In the cases where the receiver
  270.    cannot handle the type of compression used in the file, it will be
  271.    necessary to convert the image to another compression scheme before
  272.    transmission.  (Most fax cards seem to either store images using the
  273.    default values of the parameters which are negotiated or in a format
  274.    which can quickly be converted to this.  With currently available
  275.    hardware and software, any necessary format conversion should be easy
  276.    to accomplish.)
  277.  
  278.    In conventional fax, if the compression used for a particular image
  279.  
  280.  
  281.  
  282. Katz & Cohen                                                    [Page 5]
  283.  
  284. RFC 1314                 Image Exchange Format                April 1992
  285.  
  286.  
  287.    is "negative" (i.e., the compressed form is larger than the
  288.    uncompressed form, something that happens quite frequently with
  289.    dithered photographic images), the larger compressed form of the
  290.    image is still sent.  If the images are first scanned into files,
  291.    this problem could be recognized and the smaller, uncompressed file
  292.    sent instead.  (Also, Recommendations T.4 and T.6 [2] allow for an
  293.    "uncompressed mode."  Thus, lines which have negative compression may
  294.    each be sent uncompressed.  However, very few G3 fax machines support
  295.    this mode.)
  296.  
  297. 3.  Image File Format
  298.  
  299.    Image files should be in the TIFF-B format which is the bi-level
  300.    subclass of TIFF.  TIFF and TIFF-B are described in reference [3],
  301.    cited at the end of this document.  Images should be compressed using
  302.    MMR (the G4 compression scheme) because it offers superior
  303.    compression ratios.  However, images may also be compressed using MH
  304.    or MR (the G3 methods).  MMR offers much better compression ratios
  305.    than these (which are used in G3 fax because of the lack of an
  306.    error-free communications path).
  307.  
  308.    TIFF-F, described in [4], is the proposed subclass of TIFF-B for fax
  309.    images.  However, since TIFF-F was intended for use with G3, it
  310.    recommends against certain features we recommend.  Specifically, it
  311.    suggests not using MMR or MR compression (we recommend MMR and allow
  312.    MR) and prohibits uncompressed mode (which we allow and suggest for
  313.    some photographic images).  Apart from these, the TIFF-F restrictions
  314.    should be followed.  (Complete compatibility between the format
  315.    specified here and TIFF-F can only be guaranteed for MH compressed
  316.    images.)
  317.  
  318.         [NOTE: Aldus Corp., the TIFF Developer, considers fax
  319.         applications to be outside the scope of mainstream TIFF
  320.         since it is not a part of general publishing which is
  321.         what TIFF was originally designed for.  They specify the
  322.         LZW [5] compression scheme rather than MMR.  We, however,
  323.         are concerned with the transmission and storage of images
  324.         rather than publishing.  Therefore, we are more concerned
  325.         with compression ratios and compatibility with CCITT fax
  326.         than Aldus is.]
  327.  
  328.    TIFF itself allows for gray-scale and color images.  Image files
  329.    should be restricted to TIFF-B for now because most of the currently
  330.    available hardware is bi-level (1 bit per pixel).  In the future,
  331.    when gray-scale or color scanners, printers, and fax becomes
  332.    available, the file format suggested here can already accommodate it.
  333.    (For example, though JPEG is not currently a TIFF defined compression
  334.    type, work is currently underway for including it as such.)
  335.  
  336.  
  337.  
  338. Katz & Cohen                                                    [Page 6]
  339.  
  340. RFC 1314                 Image Exchange Format                April 1992
  341.  
  342.  
  343.         [NOTE: In this document, we will use the term "reader"
  344.         or "TIFF reader" to refer to the process or device
  345.         which reads and parses a TIFF file.]
  346.  
  347. 3.A. TIFF File Format
  348.  
  349.    Figure 1 below (reproduced here from Figure 1 of reference [3])
  350.    depicts the structure of a TIFF file.
  351.  
  352.    TIFF files start with a file header which specifies the byte order
  353.    used in the file (i.e., Big or Little Endian), the TIFF version
  354.    number, and points to the first "Image File Directory" (IFD).  If the
  355.    first two bytes are hex 4D4D, the byte order is from most to least
  356.    significant for both 16 and 32 bit integers (Big Endian).  If the
  357.    first two bytes are hex 4949, the byte order is from least to most
  358.    significant (Little Endian).  In both formats, character strings are
  359.    stored into sequential bytes and are null terminated.
  360.  
  361.    The next two bytes (called the TIFF Version) must be 42 (hex 002A).
  362.    This does not refer to the current TIFF revision number.  The
  363.    following 4 bytes contain the offset (in bytes from the beginning of
  364.    the file) to the first IFD.
  365.  
  366.    An IFD contains a 2 byte count of the number of entries in the IFD, a
  367.    sequence of 12 byte directory entries, and a 4 byte pointer to the
  368.    next IFD.  One of these fields (StripOffsets) points to (parts of) an
  369.    image in the file.  There may be more than one image in the file
  370.    (e.g., a "multi-page" TIFF file) and therefore more then one IFD.
  371.    IFD field entries may appear in any order.
  372.  
  373.    Each directory entry is 12 bytes and consists of a tag, its type, a
  374.    length, and an offset to its value.  If the value can fit into 4
  375.    bytes (i.e., if the type is BYTE, SHORT, or LONG), the actual value
  376.    rather than an offset is given.  If the value is less than 4 bytes
  377.    (i.e., if the type is BYTE or SHORT), it is left-justified within the
  378.    4 byte value offset.  More details about directory entries and the
  379.    possible tags will be given in Section 3.C.
  380.  
  381.    All pointers (called offsets in the TIFF reference [3]) are the
  382.    number of bytes from the beginning of the file and are 4 bytes long.
  383.    The first byte of the file has an offset of 0.  In the case of only
  384.    one image per file, there should therefore be only one IFD.  The last
  385.    IFD's pointer to the next IFD is set to hex 00000000 (32 bits).
  386.  
  387.    The entries in an IFD must be sorted in ascending order by Tag.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Katz & Cohen                                                    [Page 7]
  395.  
  396. RFC 1314                 Image Exchange Format                April 1992
  397.  
  398.  
  399.               Header
  400.         +--------+--------+                     Directory Entry
  401.       0 |        |        | Byte Order        +--------+--------+
  402.         +--------+--------|               X   |        |        | Tag
  403.       2 |        |        | Version(42)       +--------+--------|
  404.         +--------+--------|               X+2 |        |        | Type
  405.       4 |        |        | Offset of         +--------+--------|
  406.         +-     - A -     -+  0th IFD      X+4 |        |        |
  407.       6 |        |        |                   +-               -+ Length
  408.         +--------+--------+                   |        |        |
  409.                  |                            +--------+--------+
  410.                  |                        X+8 |        |        | Value
  411.                  |                            +-     - Y -     -+   or
  412.                  V                            |        |        | Value
  413.                                               +--------+--------+ Offset
  414.                 IFD
  415.         +--------+--------+                            |
  416.   A     |      - B -      | Entry Count                |
  417.         +--------+--------|                            |
  418.         |        |        |                            V
  419.   A+2                       Entry 0
  420.         |        |        |                   +--------+--------+
  421.         +--------+--------+                   |        |        |
  422.         |        |        |                 Y                     Value
  423.   A+14                      Entry 1           |        |        |
  424.         |        |        |                   +--------+--------|
  425.         +--------+--------+
  426.         |        |        |
  427.   A+26                      Entry 2
  428.         |        |        |
  429.         +--------+--------+
  430.         |        |        |    .
  431.                                .
  432.         |        |        |    .
  433.         +--------+--------+
  434.         |        |        |
  435.                              Entry B-1
  436.         |        |        |
  437.         +--------+--------+
  438.         |        |        |  Offset of
  439. A+2+B*12       - C -      +  Next IFD
  440.         |        |        |
  441.         +--------+--------+
  442.                  |
  443.                  V
  444.             (next IFD)
  445.  
  446.                  Figure 1: The Structure of a TIFF File
  447.  
  448.  
  449.  
  450. Katz & Cohen                                                    [Page 8]
  451.  
  452. RFC 1314                 Image Exchange Format                April 1992
  453.  
  454.  
  455. 3.B. Image Format and Encoding Issues
  456.  
  457.    Images in TIFF files are organized as horizontal strips for fast
  458.    access to individual rows.  One can specify how many rows there are
  459.    in each strip and all of the strips are the same size (except
  460.    possibly the last one).  Each strip must begin on a byte boundary but
  461.    successive rows are not so required.  For two-dimensional G3
  462.    compression (MR), each strip must begin with an "absolute" one-
  463.    dimensional line.  For MMR (G4) compression, each strip must be
  464.    encoded as if it were a separate image.
  465.  
  466.    For a variety of reasons, each page must be a single strip (e.g., not
  467.    broken up into multiple strips).
  468.  
  469.    One problem with multiple strips per page is that images which come
  470.    from G4 fax machines as well as most scanned images will be generated
  471.    as a single strip per page.  These would have to be decoded and re-
  472.    encoded as multiple strips (remember that for MMR compression, each
  473.    strip must be start with a one-dimensionally encoded line).
  474.  
  475.    Another problem with multiple strips per page arises in MR
  476.    compression.  Here, there MAY be at most k-1 two-dimensionally
  477.    encoded lines following a one-dimensionally encoded line, but this is
  478.    not required.  It is possible to have one-dimensional lines more
  479.    frequently than every k lines.  However, since each strip (except
  480.    possibly the last one) is required to be the same size, it may be
  481.    necessary to re-encode the image to insure that each strip starts
  482.    with a one-dimensional line.  This is not a problem if each page is a
  483.    single strip.
  484.  
  485.         [NOTE: The TIFF document [3] suggests using strips which
  486.         are about 8K bytes long.  However, TIFF-F [4] recommends
  487.         that each page be a single strip regardless of its size.
  488.         The format specified in this document follows the TIFF-F
  489.         recommendation.]
  490.  
  491.    Also, as TIFF-F recommends, all G3 encoded images (MH and MR) should
  492.    be "byte-aligned."  This means that extra zero bits (fill bits) are
  493.    added before each EOL (end-of-line) so that every line starts on a
  494.    byte boundary.
  495.  
  496.    In addition, as in the TIFF-F specification, the RTC (Return to
  497.    Control signal which consists of 6 continuous EOL's) of G3 shall not
  498.    be included at the end of G3 encoded documents.  RTC is to be
  499.    considered part of the G3 transmission protocol and not part of the
  500.    encoding.  Most, if not all, G3 fax modems attach RTC to outgoing
  501.    images and remove it from incoming ones.
  502.  
  503.  
  504.  
  505.  
  506. Katz & Cohen                                                    [Page 9]
  507.  
  508. RFC 1314                 Image Exchange Format                April 1992
  509.  
  510.  
  511.    For MMR (G4) encoded files, readers should be able to read images
  512.    with only one EOFB (End Of Facsimile Block) at the end of the page
  513.    and should not assume that Facsimile Blocks are of any particular
  514.    size.  (It has been reported that some MMR readers assume that all
  515.    Facsimile Blocks are the maximum size.)
  516.  
  517.    Systems may optionally choose to store the entire image uncompressed
  518.    if the compression increases the size of the image file.  Also,
  519.    uncompressed mode (specified in Group3Options or Group4Options, see
  520.    below) allows portions of the image to be uncompressed.
  521.  
  522.    The multi-page capability of TIFF is supported and should be used for
  523.    multi-page documents.  TIFF files which have multiple pages have an
  524.    IFD for each page of the document each of which describes and points
  525.    to a single page image.  (Note: though the current TIFF specification
  526.    does not specifically prohibit having a single IFD point to an image
  527.    which is actually multiple pages, with one strip for each page, most
  528.    if not all TIFF readers would probably not be able to read such a
  529.    file.  Therefore, this should not be done.)
  530.  
  531.      [A NOTE ON TIFF AND MULTI-PAGE DOCUMENTS:
  532.  
  533.         Since most publications (e.g., reports, books, and
  534.         magazine articles) are composed of more than a single
  535.         page, multi-page TIFF files should be used where
  536.         appropriate.  However, many current TIFF implementations
  537.         now only handle single-page files.
  538.  
  539.         It is hoped that in the future, more TIFF implementations
  540.         will handle multi-page files correctly.  In the meantime,
  541.         it would be useful to develop a utility program which
  542.         could join several single-page TIFF files into a single
  543.         multi-page file and also separate a multi-page TIFF file
  544.         into several single page files.
  545.  
  546.         For example, the utility could take a single TIFF file
  547.         with N pages, called doc.tif, and create the files
  548.         doc.000, doc.001, doc.002, ..., doc.N.  doc.000 would be
  549.         an ASCII listing of the files created.  This naming
  550.         scheme is compatible with that used by the image systems
  551.         we have seen which only handle single page files.
  552.  
  553.         In going the other way, the N+1 single page files could
  554.         be combined into a single multi-page TIFF file.  In this
  555.         case, if the file doc.000 exists but contains information
  556.         contrary to what is found in looking for the files
  557.         doc.001, doc.002, ..., the program would notify the user.]
  558.  
  559.  
  560.  
  561.  
  562. Katz & Cohen                                                   [Page 10]
  563.  
  564. RFC 1314                 Image Exchange Format                April 1992
  565.  
  566.  
  567. 3.C. TIFF Fields
  568.  
  569.    TIFF is tag or field based.  The various fields and their format are
  570.    listed in [3].  There are Basic Fields (common to all TIFF files),
  571.    Informational Fields (which provide useful information to a user),
  572.    Facsimile Fields (used here), and Private Fields.
  573.  
  574.    Each directory entry contains:
  575.  
  576.        The Tag for the field (2 bytes)
  577.  
  578.        The field Type (2 bytes)
  579.  
  580.        The field Length (4 bytes)
  581.            (This is in terms of the data type, not in bytes.  For
  582.             example, a single 16-bit word or SHORT has a Length
  583.             of 1, not 2)
  584.  
  585.        The Value Offset (4 bytes)
  586.            (Pointer to the actual value, which must begin on a
  587.             word boundary.  Therefore, this offset will always
  588.             be an even number.  If the Value fits into 4 bytes, the
  589.             Value Offset contains the Value instead.  If the Value
  590.             takes less than 4 bytes, it is left justified)
  591.  
  592.  
  593.    The allowed types and their codes are:
  594.  
  595.         1 = BYTE        8-bit unsigned integer (1 byte)
  596.  
  597.         2 = ASCII       8-bit ASCII terminated with a null (variable
  598.                         length)
  599.  
  600.         3 = SHORT       16-bit unsigned integer (2 bytes)
  601.  
  602.         4 = LONG        32-bit unsigned integer (4 bytes)
  603.  
  604.         5 = RATIONAL    Two LONGs (64 bits) representing the
  605.                         numerator and denominator of a fraction.
  606.                         In this document, RATIONAL's will be written
  607.                         as numerator/denominator. (8 bytes)
  608.  
  609.    For ASCII, the Length specifies the number of characters and includes
  610.    the null.  It does not, however, include padding if such is
  611.    necessary.
  612.  
  613.    (Note that ASCII strings of length 3 or less may be stored in the
  614.    Value Offset field instead of being pointed to.)
  615.  
  616.  
  617.  
  618. Katz & Cohen                                                   [Page 11]
  619.  
  620. RFC 1314                 Image Exchange Format                April 1992
  621.  
  622.  
  623.    The following fields should be used in a TIFF image file.  Only the
  624.    Basic Fields are mandatory; the others are optional (except that for
  625.    MH and MR encoded files, the Group3Options Facsimile Field is
  626.    mandatory).  The optional fields have default values which are given
  627.    in the TIFF specification.  (Note that the TIFF reference [3]
  628.    recommends not relying on the default values.)
  629.  
  630.    Some fields contain one or more flag bits all stored as one value.
  631.    In these cases, the bit labeled 0 is the least significant bit (i.e.,
  632.    Little Endian order).  Where there is more than one suggested value
  633.    for a tag, the possible values are separated by |.
  634.  
  635.    Note that some fields (such as ImageLength or ImageWidth) can be of
  636.    more than one type.
  637.  
  638.    It would be useful to develop a TIFF viewer and editor which would
  639.    allow one to read, add, and edit the fields in a TIFF file.  Such an
  640.    editor would display fields in sorted order and force the inclusion
  641.    of all mandatory fields.  Also, resolution and position should always
  642.    be displayed or specified together with their units.
  643.  
  644.    3.C.1.  Basic Fields (Mandatory)
  645.  
  646.       Basic Fields are those which are fundamental to the pixel
  647.       architecture or visual characteristics of an image.  The following
  648.       Basic Fields should be included in a TIFF image file:
  649.  
  650.            FIELD NAME
  651.        (TAG in hex, TYPE)       VALUE           DESCRIPTION
  652.        ------------------       -----           -----------
  653.  
  654.          BitsPerSample            1             Number of bits
  655.           (0102, SHORT)                         per pixel (bi-level for
  656.                                                 now, but may allow
  657.                                                 more later)
  658.  
  659.          Compression              4             Type of Compression
  660.           (0103, SHORT)      (could also be       1 = Uncompressed
  661.                                 1 or 3)           3 = G3 (MH or MR)
  662.                                                   4 = G4 (MMR)
  663.                                                  Use 4 if possible
  664.  
  665.          ImageLength       <image's length>     Length of the Image
  666.           (0101, SHORT                             in scan lines
  667.             or LONG)
  668.  
  669.          ImageWidth         <image's width>     Width of the Image
  670.           (0100, SHORT                             in pixels
  671.  
  672.  
  673.  
  674. Katz & Cohen                                                   [Page 12]
  675.  
  676. RFC 1314                 Image Exchange Format                April 1992
  677.  
  678.  
  679.             or LONG)
  680.  
  681.          NewSubFileType     0 usually           Flag bits indicating
  682.           (00FE, LONG)       bit 0: 1 if           the kind of image.
  683.                               reduced           (see the TIFF
  684.                               resolution of        reference [3])
  685.                               another image
  686.                              bit 1: 1 if
  687.                               single page of a
  688.                               multi-page image
  689.                              bit 2: 1 if
  690.                               image defines a
  691.                               transparency
  692.                               mask
  693.  
  694.          Photometric-       0 for positive
  695.            Interpretation    image (0 imaged
  696.           (0106, SHORT)      as white, 1 as
  697.                              black)
  698.                             1 means reverse
  699.                              black and white
  700.  
  701.          RowsPerStrip    <Number of Rows>       Number of Rows in
  702.           (0116, SHORT                          Each Strip.  Each
  703.            or LONG)                             page should be a
  704.                                                 single strip.
  705.  
  706.          SamplesPerPixel          1             (since are Bi-level
  707.           (0115, SHORT)                          images)
  708.  
  709.          StripByteCounts    count1, count2...   Number of Bytes in
  710.           (0117, SHORTs                          each strip of the
  711.             or LONGs)                            images.  (The Value
  712.                                                  is an offset which
  713.                                                  points to a series
  714.                                                  of counts, each of
  715.                                                  which is the same
  716.                                                  Type, LONG or SHORT.
  717.                                                  The Length is the
  718.                                                  same as the number
  719.                                                  of strips.)
  720.  
  721.          StripOffsets       off1, off2,...      Pointers to the strips
  722.           (0111, SHORTs                          of the image (remember,
  723.             or LONGs)                            one strip per page).
  724.                                                  (The Value is an offset
  725.                                                   which points to a
  726.                                                   series of offsets,
  727.  
  728.  
  729.  
  730. Katz & Cohen                                                   [Page 13]
  731.  
  732. RFC 1314                 Image Exchange Format                April 1992
  733.  
  734.  
  735.                                                   each of which points
  736.                                                   to the actual image
  737.                                                   data for the strip.)
  738.  
  739.          ResolutionUnit         2 | 3           Units of Resolution
  740.           (0128, SHORT)      See Below, 3.C.6     2: Inches
  741.                                                   3: Centimeters
  742.  
  743.          XResolution        See Below, 3.C.6    Resolution in the X
  744.           (011A, RATIONAL)                       direction in pixels
  745.                                                  per ResolutionUnit
  746.                                                  (we suggest 400 dots
  747.                                                  per inch when possible)
  748.  
  749.          YResolution        See Below, 3.C.6    Resolution in the Y
  750.           (011B, RATIONAL)                        direction in pixels
  751.                                                  per ResolutionUnit
  752.                                                  (we suggest 400 dots
  753.                                                  per inch when possible)
  754.  
  755.    3.C.2.  Informational Fields (Optional)
  756.  
  757.       The following Informational Fields are optional.  They provide
  758.       useful information to a user.  All Field values are ASCII strings.
  759.  
  760.        NAME (TAG in hex)                DESCRIPTION
  761.        ----------------                 -----------
  762.  
  763.          Artist (013B)           Person Who Created the Image
  764.  
  765.          DateTime (0132)         Date and Time of Image Creation
  766.  
  767.          HostComputer (013C)     Name of Computer Image was Created On
  768.  
  769.          ImageDescription        A Short Text Description
  770.            (010E)
  771.  
  772.          Make (010F)             Manufacturer of Hardware (Scanner) Used
  773.  
  774.          Model (0110)            Model Number of Hardware (Scanner) Used
  775.  
  776.          Software (0131)         Software Package that Created the Image
  777.  
  778.    3.C.3.  Facsimile Fields (Optional, Mandatory for G3 Compression)
  779.  
  780.       In addition to the above, the Facsimile Fields below should be
  781.       used.  The TIFF document recommends that they not be used for
  782.       interchange between applications, but they are now in wide enough
  783.  
  784.  
  785.  
  786. Katz & Cohen                                                   [Page 14]
  787.  
  788. RFC 1314                 Image Exchange Format                April 1992
  789.  
  790.  
  791.       use for just that.  These fields are optional and default to 0
  792.       (all bits off).
  793.  
  794.            FIELD NAME
  795.        (TAG in hex, TYPE)       VALUE               DESCRIPTION
  796.        ------------------       -----               -----------
  797.  
  798.          Group3Options      bit 0: 1 for         Flag bits indicating
  799.           (0124, LONG)       2-dimensional       Options for G3
  800.                              coding
  801.                               (i.e., MR with
  802.                                k > 1)
  803.                             bit 1: 1 if
  804.                              uncompressed
  805.                              mode MAY be used,
  806.                              0 if uncompressed
  807.                              mode IS NOT used.
  808.                             bit 2: 1 if fill     (As allowed by the G3
  809.                              bits have been       protocol, fill bits
  810.                              added                may be added between
  811.                                                   each line of data
  812.                                                   and the EOL.  Since
  813.                                                   fill bits are used to
  814.                                                   "byte-align" G3 image
  815.                                                   files, bit 2 should be
  816.                                                   set to 1 for these
  817.                                                   images.)
  818.  
  819.  
  820.          Group4Options      bit 0: unused        Flag bits indicating
  821.           (0125, LONG)      bit 1: 1 if          Options for G4
  822.                              uncompressed
  823.                              mode MAY be used,
  824.                              if this bit is 0
  825.                              it means that
  826.                              uncompressed mode
  827.                              IS NOT used.
  828.  
  829.    3.C.4.  Storage and Retrieval Fields (Optional)
  830.  
  831.       The following fields are optional and may be useful for document
  832.       storage and retrieval.
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Katz & Cohen                                                   [Page 15]
  843.  
  844. RFC 1314                 Image Exchange Format                April 1992
  845.  
  846.  
  847.            FIELD NAME
  848.        (TAG in hex, TYPE)                DESCRIPTION
  849.        ------------------                -----------
  850.  
  851.          DocumentName               Name of the Document
  852.           (010D, ASCII)
  853.  
  854.          PageName                   Name of the Page
  855.           (011D, ASCII)
  856.  
  857.          PageNumber                 Page Number in a Multi-Page Document
  858.           (0129, SHORTs)             Two SHORT Values are specified, the
  859.                                      first is the page number and the
  860.                                      second is the total number of pages
  861.                                      in the document.  The first page
  862.                                      is page 0.  (NOTE:  This does not
  863.                                      necessarily correspond to page
  864.                                      numbers which may be printed
  865.                                      in the image.)
  866.  
  867.          XPosition                  X Offset of the Left Side of
  868.           (011E, RATIONAL)          the Image, in ResolutionUnits
  869.  
  870.          YPosition                  Y Offset of the Top of
  871.           (011F, RATIONAL)          the Image, in ResolutionUnits
  872.  
  873.    3.C.5.  TIFF-F Fields (NOT Recommended)
  874.  
  875.       TIFF-F defines the following new fields for G3 (MH) encoded
  876.       images.  Since these fields are not defined in TIFF-B itself,
  877.       their use is not recommended.  However, since TIFF-F files may
  878.       include these tags for image data which came from a G3 fax
  879.       machine, readers should be prepared for them.
  880.  
  881.       These three fields deal with corrupted image data which is due to
  882.       the fact that G3 devices may not perform error correction on bad
  883.       data.
  884.  
  885.            FIELD NAME
  886.        (TAG in hex, TYPE)                DESCRIPTION
  887.        ------------------                -----------
  888.  
  889.          BadFaxLines                Number of Bad fax scan lines
  890.           (0146, SHORT or LONG)     encountered during fax reception
  891.                                     (but not necessarily in the file)
  892.  
  893.          CleanFaxData               0 means no bad lines received
  894.           (0147, SHORT)             1 means bad lines were regenerated
  895.  
  896.  
  897.  
  898. Katz & Cohen                                                   [Page 16]
  899.  
  900. RFC 1314                 Image Exchange Format                April 1992
  901.  
  902.  
  903.                                         by the receiving device
  904.                                     2 means bad lines were detected
  905.                                         but not regenerated
  906.  
  907.         ConsecutiveBadFaxLines      The maximum number of consecutive
  908.           (0148, SHORT or LONG)     bad fax lines (but not necessarily
  909.                                     in the file)
  910.  
  911.    3.C.6.  More on Representing Resolutions
  912.  
  913.       The tags XResolution and YResolution are both RATIONALs, i.e., the
  914.       ratio of two LONGS.  G3 fax resolutions are actually specified in
  915.       dots (or lines) per mm while G4 is in dots per inch (actually,
  916.       dots per 25.4 mm).
  917.  
  918.       For example, G3 horizontal resolution is defined to be 1728 dots
  919.       per 215 mm which comes out to 80.4 dots per cm or about 203 dots
  920.       per inch.  It is frequently referred to as just 200 dpi.  To avoid
  921.       any possibility of problems due to round off error, this should be
  922.       represented by having XResolution = 17280/215 and ResolutionUnit =
  923.       3 (cm).  However when reading, 204/1 or even 200/1 with
  924.       ResolutionUnit = 2 (inches) should be recognized as representing
  925.       the same resolution.
  926.  
  927.       For G4, on the other hand, the resolution 400 dots/inch should be
  928.       represented by an XResolution of 400/1 and ResolutionUnit = 2.
  929.  
  930.       The following table shows various ways of representing the
  931.       standard resolutions in order of preference:
  932.  
  933.  
  934.                    ResolutionUnit    XResolution       YResolution
  935.                    --------------    -----------       -----------
  936.  
  937.         G3 normal       3             17280/215         3850/100
  938.                         3                80/1           3850/100
  939.                         3             17280/215          385/10
  940.                         3                80/1            385/10
  941.                         2              2042/10          9779/100
  942.                         2               204/1             98/1
  943.                         2               200/1            100/1
  944.  
  945.         G3 fine         3             17280/215           77/1
  946.                         3                80/1             77/1
  947.                         2              2042/10         19558/100
  948.                         2               204/1            196/1
  949.                         2               200/1            200/1
  950.  
  951.  
  952.  
  953.  
  954. Katz & Cohen                                                   [Page 17]
  955.  
  956. RFC 1314                 Image Exchange Format                April 1992
  957.  
  958.  
  959.         G4 200 dpi      2               200/1            200/1
  960.  
  961.         G4 300 dpi      2               300/1            300/1
  962.  
  963.         Other 300 dpi   2               300/1            300/1
  964.  
  965.         G4 400 dpi      2               400/1            400/1
  966.  
  967.         600 dpi         2               600/1            600/1
  968.  
  969.       It is suggested that Image readers be able to handle all of the
  970.       above representations.
  971.  
  972. 4.  A Sample TIFF Image File
  973.  
  974.    Below is a sample of what might be in a TIFF file for an MMR (G4)
  975.    encoded single image which is about 100K bytes compressed at 400 dpi.
  976.    A generic outline is given first, followed by a more detailed hex
  977.    listing.
  978.  
  979. 4.A. Sample File
  980.  
  981.    Comments are to the right and are preceded by a semicolon.  Note that
  982.    tags must be sorted in order of the tag codes.
  983.  
  984.    0:, IFDADDR:, and STRIP0: are addresses within the file and denote
  985.    the number of bytes from the beginning of the file.
  986.  
  987.    Header:
  988.  
  989.     0:  Byte Order=     hex 4D4D        ;first bytes of the file, from
  990.                                         ;most significant bit to least
  991.                                         ;significant (big endian)
  992.         Version=        42 (hex 002A)   ;Must be 42
  993.         First IFD=      IFDADDR         ;Address of first (and only) IFD
  994.  
  995.    Image File Directory (the only one in this example):
  996.  
  997.    IFDADDR:
  998.  
  999.         IFD Entry Count=      24        ;(NOT A TAG) Count of
  1000.                                         ; Number of IFD Entries
  1001.  
  1002.  
  1003.         NewSubFileType=        0
  1004.         ImageWidth=         3400        ;8.5 inches at 400 dpi
  1005.         ImageLength=        4400        ;11 inches at 400 dpi
  1006.         BitsPerSample=         1        ;Bi-Level
  1007.  
  1008.  
  1009.  
  1010. Katz & Cohen                                                   [Page 18]
  1011.  
  1012. RFC 1314                 Image Exchange Format                April 1992
  1013.  
  1014.  
  1015.         Compression=           4        ;MMR
  1016.         Photometric-
  1017.            Interpretation=     0
  1018.         DocumentName=       "LAMap1"
  1019.         ImageDescription=   "A map of Los Angeles"
  1020.         Make=               "Fujitsu"
  1021.         Model=              "M3093E"
  1022.         StripOffsets=       <STRIP0>    ;There is only one strip in
  1023.                                         ;this example.  However, note
  1024.                                         ;that strips can be in any
  1025.                                         ;order.  (Offsets are from the
  1026.                                         ;beginning of the TIFF file.)
  1027.  
  1028.         SamplesPerPixel=       1        ;Bi-Level
  1029.         RowsPerStrip=       4400        ;Entire image in 1 strip
  1030.         StripByteCounts=    <COUNT0>    ;Byte count of entire
  1031.                                         ;compressed image
  1032.  
  1033.         XResolution=        400/1
  1034.         YResolution=        400/1
  1035.         XPosition=            0/1       ;position of left side of image
  1036.         YPosition=            0/1       ;position of top of image
  1037.         Group4Options=    hex 00000002  ;bit 1 on means uncompressed
  1038.                                         ;mode MAY be used
  1039.  
  1040.         ResolutionUnit=        2        ;Inches
  1041.         Software=           "Xionics"
  1042.         DateTime=           "1990:10:05 15:00:00"
  1043.         Artist=             "Joe Pro"
  1044.         HostComputer=       "Tardis.Isi.Edu"
  1045.  
  1046.         Next IFD Pointer=  hex 00000000 ;(NOT A TAG) Indicates no
  1047.                                         ; more IFDs in this file
  1048.  
  1049.     Image Data:
  1050.  
  1051.     <STRIP0>:       <actual compressed image data>
  1052.  
  1053.     [end of TIFF file]
  1054.  
  1055.    In this example there is only one strip.  Note that if there were
  1056.    more than one, the TIFF specification does not require them to be in
  1057.    any particular order.  Strips may be given in any order and TIFF
  1058.    readers must use the StripOffsets to locate them.
  1059.  
  1060.    Also, the TIFF document recommends not relying on the default values
  1061.    of the tags.
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Katz & Cohen                                                   [Page 19]
  1067.  
  1068. RFC 1314                 Image Exchange Format                April 1992
  1069.  
  1070.  
  1071. 4.B. Detailed Hex Listing
  1072.  
  1073.    All offsets and values are represented by hex except for ASCII
  1074.    strings which are double quoted.  Remember that Value Offsets must
  1075.    always be an even number since the value it points to must always be
  1076.    on a 16-bit word boundary.
  1077.  
  1078.    Entries in the Name column are for reference and are not actually a
  1079.    part of the TIFF file.
  1080.  
  1081.    Offset      Name                  Value
  1082.    ----        -------------------   -------------------------------------
  1083.   Header (first byte is Offset 0):
  1084.    0000        Byte Order             4D4D
  1085.    0002        Version                002A
  1086.    0004        1st. IFD pointer       00000010
  1087.  
  1088.   IFD (IFDADDR from above is 0010 here):
  1089.    0010        Entry Count            0018
  1090.    0012        NewSubFileType         00FE   0004   00000001  00000000
  1091.    001E        ImageWidth             0100   0004   00000001  00000D48
  1092.    002A        ImageLength            0101   0004   00000001  00001130
  1093.    0036        BitsPerSample          0102   0003   00000001  00010000
  1094.    0042        Compression            0103   0003   00000001  00040000
  1095.    004E        Photometric Interp.    0106   0003   00000001  00000000
  1096.    005A        DocumentName           010D   0002   00000007  00000136
  1097.    0066        ImageDescription       010E   0002   00000015  0000013E
  1098.    0072        Make                   010F   0002   00000008  00000154
  1099.    007E        Model                  0110   0002   00000007  0000015C
  1100.    008A        StripOffsets           0111   0004   00000001  000001A8
  1101.    0096        SamplesPerPixel        0115   0003   00000001  00010000
  1102.    00A2        RowsPerStrip           0116   0004   00000001  00001130
  1103.    00AE        StripByteCounts        0117   0004   00000001  <COUNT0>
  1104.    00BA        XResolution            011A   0005   00000001  00000164
  1105.    00C6        YResolution            011B   0005   00000001  00000164
  1106.    00D2        XPosition              011E   0005   00000001  0000016C
  1107.    00DE        YPosition              011F   0005   00000001  0000016C
  1108.    00EA        Group4Options          0125   0004   00000001  00000002
  1109.    00F6        ResolutionUnit         0128   0003   00000001  00020000
  1110.    0102        Software               0131   0002   00000008  00000174
  1111.    010E        DateTime               0132   0002   00000014  0000017C
  1112.    011A        Artist                 013B   0002   00000008  00000190
  1113.    0126        HostComputer           013C   0002   0000000F  00000198
  1114.    0132        Next IFD Pointer       00000000
  1115.  
  1116.   Fields Offsets Point to:
  1117.    0136        DocumentName          "LAMap1"
  1118.    013E        ImageDescription      "A map of Los Angeles"
  1119.  
  1120.  
  1121.  
  1122. Katz & Cohen                                                   [Page 20]
  1123.  
  1124. RFC 1314                 Image Exchange Format                April 1992
  1125.  
  1126.  
  1127.    0154        Make                  "Fujitsu"
  1128.    015C        Model                 "M3093E"
  1129.    0164        X,Y Resolution        00000190 00000001
  1130.    016C        X,Y Position          00000000 00000001
  1131.    0174        Software              "Xionics"
  1132.    017C        DateTime              "1990:10:05 15:00:00"
  1133.    0190        Artist                "Joe Pro"
  1134.    0198        HostComputer          "Tardis.Isi.Edu"
  1135.  
  1136.   Image Data (<STRIP0> from above is here 01A8)
  1137.    01A8        Compressed Data for single strip, of length <COUNT0> bytes
  1138.  
  1139.     [end of TIFF file]
  1140.  
  1141. NOTE:  Since in this example there is only a single strip, there is only
  1142.        one count for StripByteCounts and one offset for StripOffsets.
  1143.        Thus, each of these only takes 4 bytes and will fit in the
  1144.        Value Offset instead of being pointed to.
  1145.  
  1146. 5.  Conclusions
  1147.  
  1148.    Bitmapped images transferred within the Internet should be in the
  1149.    following format:
  1150.  
  1151.         1. The file format should be TIFF-B with multi-page files
  1152.            supported.  Images should be encoded as one TIFF strip
  1153.            per page.
  1154.  
  1155.         2. Images should be compressed using MMR when possible.  Images
  1156.            may also be MH or MR compressed or uncompressed.  If MH or MR
  1157.            compression is used, scan lines should be "byte-aligned".
  1158.  
  1159.         3. For maximum interoperability, image resolutions should
  1160.            either be 600, 400, or 300 dpi; or else be one of the
  1161.            standard Group 3 fax resolutions (98 or 196 dpi
  1162.            vertically and 204 dpi horizontally).
  1163.  
  1164.    Note that this specification is self contained and an implementation
  1165.    should be possible without recourse to the TIFF references, and that
  1166.    only the specific TIFF documents cited are relevant to this
  1167.    specification.  Updates to the TIFF documents do not change this
  1168.    specification.
  1169.  
  1170.    Existing commercial off-the-shelf products are available which can
  1171.    handle images in the above format.  ISI would be delighted to help
  1172.    those interested in assembling a system.
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Katz & Cohen                                                   [Page 21]
  1179.  
  1180. RFC 1314                 Image Exchange Format                April 1992
  1181.  
  1182.  
  1183. 6.  Acknowledgments
  1184.  
  1185.    Many contributions to this work were made by members of the IETF
  1186.    Network Fax Working Group especially by its chairman, Mark Needleman
  1187.    and by Clifford Lynch of the University of California Office of the
  1188.    President, Library Automation.  Also, Kiyo Inaba of Ricoh Co. Ltd.
  1189.    made a number of helpful suggestions.
  1190.  
  1191. 7.  References
  1192.  
  1193.    [1] Borenstein, N., and N. Freed, "Mechanisms for Specifying and
  1194.        Describing the Format of Internet Message Bodies", RFC in
  1195.        preparation.
  1196.  
  1197.    [2] International Telegraph and Telephone Consultative Committee
  1198.        (CCITT), Red Book, October, 1984.
  1199.  
  1200.    [3] Aldus Corp., Microsoft Corp., "Tag Image File Format
  1201.        Specification", Revision 5.0, Final, 1988.
  1202.  
  1203.    [4] Cygnet Corporation, "The Spirit of TIFF Class F, 1990", available
  1204.        from Cygnet Technologies, 2560 9th., Suite 220, Berkeley, CA
  1205.        94710, FAX: (415) 540-5835.
  1206.  
  1207.    [5] Welch, T., "A Technique for High Performance Data Compression",
  1208.        IEEE Computer, Vol. 17, No. 6, Page 8, June 1984.
  1209.  
  1210. 8.  Security Considerations
  1211.  
  1212.    While security issues are not directly addressed by this document, it
  1213.    is important to note that the file format described in this document
  1214.    is intended for the communications of files between systems and
  1215.    across networks. Thus the same precautions and cares should be
  1216.    applied to these files as would be to any files received from remote
  1217.    and possibly unknown systems.
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. Katz & Cohen                                                   [Page 22]
  1235.  
  1236. RFC 1314                 Image Exchange Format                April 1992
  1237.  
  1238.  
  1239. 9.  Authors' Addresses
  1240.  
  1241.    Alan Katz
  1242.    USC Information Sciences Institute
  1243.    4676 Admiralty Way #1100
  1244.    Marina Del Rey, CA  90292-6695
  1245.  
  1246.    Phone: 310-822-1511
  1247.    Fax:  310-823-6714
  1248.    EMail: Katz@ISI.Edu
  1249.  
  1250.    Danny Cohen
  1251.    USC Information Sciences Institute
  1252.    4676 Admiralty Way #1100
  1253.    Marina Del Rey, CA  90292-6695
  1254.  
  1255.    Phone: 310-822-1511
  1256.    Fax:  310-823-6714
  1257.    EMail: Cohen@ISI.Edu
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Katz & Cohen                                                   [Page 23]
  1291.  
  1292.