Network Working Group                                         G. Parsons
Request for Comments: 3302                               Nortel Networks
Obsoletes: 2302                                              J. Rafferty
Category: Standards Track                          Brooktrout Technology
                                                          September 2002
        
Network Working Group                                         G. Parsons
Request for Comments: 3302                               Nortel Networks
Obsoletes: 2302                                              J. Rafferty
Category: Standards Track                          Brooktrout Technology
                                                          September 2002
        

Tag Image File Format (TIFF) - image/tiff MIME Sub-type Registration

标记图像文件格式(TIFF)-图像/TIFF MIME子类型注册

Status of this Memo

本备忘录的状况

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

本文件规定了互联网社区的互联网标准跟踪协议,并要求进行讨论和提出改进建议。有关本协议的标准化状态和状态,请参考当前版本的“互联网官方协议标准”(STD 1)。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The Internet Society (2002). All Rights Reserved.

版权所有(C)互联网协会(2002年)。版权所有。

Abstract

摘要

This document describes the registration of the MIME sub-type image/tiff. This document refines an earlier sub-type registration in RFC 1528.

本文档介绍MIME子类型image/tiff的注册。本文件细化了RFC 1528中早期的子类型注册。

This document obsoletes RFC 2302.

本文件淘汰了RFC 2302。

1. Conventions used in this document
1. 本文件中使用的公约

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [REQ].

本文件中的关键词“必须”、“不得”、“要求”、“应”、“不应”、“应”、“不应”、“建议”、“可”和“可选”应按照RFC 2119[REQ]中的说明进行解释。

2. Overview
2. 概述

This document describes the registration of the MIME sub-type image/tiff. The baseline encoding of TIFF (Tag Image File Format) is defined by [TIFF].

本文档介绍MIME子类型image/tiff的注册。TIFF(标签图像文件格式)的基线编码由[TIFF]定义。

3. Internet Fax Working Group
3. 因特网传真工作组

This document is a product of the IETF Internet Fax Working Group. All comments on this document should be forwarded to the email distribution list at <ietf-fax@imc.org>.

本文件是IETF互联网传真工作组的产品。对本文件的所有评论应转发至<ietf-fax@imc.org>.

4. TIFF Definition
4. TIFF定义

TIFF (Tag Image File Format) Revision 6.0 is defined in detail by Adobe in [TIFF]. The documentation can be obtained from Adobe at:

Adobe在[TIFF]中详细定义了TIFF(标签图像文件格式)6.0版。文档可从Adobe获得,网址为:

Adobe Developers Association Adobe Systems Incorporated 345 Park Avenue San Jose, CA 95110-2704

Adobe开发者协会Adobe Systems Incorporated加利福尼亚州圣何塞公园大道345号,邮编95110-2704

      Phone: +1-408-536-6000
      Fax:   +1-408-537-6000
        
      Phone: +1-408-536-6000
      Fax:   +1-408-537-6000
        
   A copy of this specification can also be found in:
   http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf
        
   A copy of this specification can also be found in:
   http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf
        

While a brief scope and feature description is provided in this section as background information, the reader is directed to the original TIFF specification [TIFF] to obtain complete feature and technical details.

虽然本节提供了简要的范围和功能描述作为背景信息,但读者应参考原始TIFF规范[TIFF],以获得完整的功能和技术细节。

4.1 TIFF Scope
4.1 TIFF示波器

TIFF describes image data that typically comes from scanners, frame grabbers, and paint- and photo-retouching programs. TIFF is not a printer language or page description language. The purpose of TIFF is to describe and store raster image data. A primary goal of TIFF is to provide a rich environment within which applications can exchange image data. This richness is required to take advantage of the varying capabilities of scanners and other imaging devices. Though TIFF is a rich format, it can easily be used for simple scanners and applications as well because the number of required fields is small.

TIFF描述的图像数据通常来自扫描仪、帧抓取器以及绘画和照片修饰程序。TIFF不是打印机语言或页面描述语言。TIFF的目的是描述和存储光栅图像数据。TIFF的主要目标是提供一个丰富的环境,应用程序可以在其中交换图像数据。这种丰富性是利用扫描仪和其他成像设备的不同功能所必需的。尽管TIFF是一种丰富的格式,但由于所需字段的数量很少,因此它也可以轻松地用于简单的扫描仪和应用程序。

4.2 TIFF Features
4.2 TIFF功能

Some of the features of TIFF (from [TIFF]) are:

TIFF的一些功能(来自[TIFF])包括:

- TIFF is capable of describing bilevel, grayscale, palette-color, and full-color image data in several color spaces.

- TIFF能够在多个颜色空间中描述两层、灰度、调色板颜色和全色图像数据。

- TIFF includes a number of compression schemes that allow developers to choose the best space or time tradeoff for their applications.

- TIFF包括许多压缩方案,允许开发人员为其应用程序选择最佳的空间或时间权衡。

- TIFF is designed to be extensible and to evolve gracefully as new needs arise.

- TIFF设计为可扩展,并随着新需求的出现而优雅地发展。

- TIFF allows the inclusion of an unlimited amount of private or special-purpose information.

- TIFF允许包含无限量的私人或特殊用途信息。

5. MIME Definition
5. MIME定义
5.1 image/tiff
5.1 图像/tiff

The image/tiff content-type was previously defined in RFC 1528 as containing TIFF 6.0 encoded image data, with specific reference made to a subset known as TIFF Class F. This document redefines the original image/tiff definition to refer to TIFF 6.0 [TIFF] encoded image data, consistent with existing practice for TIFF aware Internet applications. This definition is further enhanced by introducing the new "application parameter" (section 6.2) to enable identification of a specific subset of TIFF and TIFF extensions for the encoded image data.

图像/tiff内容类型先前在RFC 1528中定义为包含tiff 6.0编码的图像数据,具体参考了称为tiff类别F的子集。本文档重新定义了原始图像/tiff定义,以参考tiff 6.0[tiff]编码的图像数据,与tiff感知互联网应用的现有实践一致。通过引入新的“应用参数”(第6.2节)进一步增强了该定义,以识别编码图像数据的TIFF和TIFF扩展的特定子集。

5.2 Application parameter
5.2 应用参数

There are cases where it may be useful to identify the application applicable to the content of an image/tiff body. Typically, this would be used to assist the recipient in dispatching a suitable rendering package to handle the display or processing of the image file. As a result, an optional "application" parameter is defined for image/tiff to identify a particular application's subset of TIFF and TIFF extensions for the encoded image data, if it is known. No values are defined in this document.

在某些情况下,识别适用于图像/tiff正文内容的应用程序可能是有用的。通常,这将用于帮助接收者分派适当的渲染包来处理图像文件的显示或处理。因此,为image/tiff定义了可选的“application”参数,以识别编码图像数据的特定应用程序的tiff和tiff扩展子集(如果已知)。本文档中未定义任何值。

Example:

例子:

               Content-type: image/tiff; application=foo
        
               Content-type: image/tiff; application=foo
        

There is no default value for application, as the absence of the application parameter indicates that the encoded TIFF image is Baseline TIFF or that it is not necessary to identify the application. It is up to the recipient's implementation to determine the application (if necessary) and render the image to the user.

应用程序没有默认值,因为缺少应用程序参数表示编码的TIFF图像是基线TIFF,或者不需要识别应用程序。由接收者的实现来确定应用程序(如有必要)并将图像呈现给用户。

New values for the image/tiff application parameter must be approved by the IESG prior to registration. As a result, the publication of a description of parameter values in an RFC is required.

图像/tiff应用参数的新值必须在注册前获得IESG的批准。因此,需要在RFC中发布参数值的说明。

Guidelines on writing IANA considerations for RFCs can be found in RFC 2434.

关于编写RFC的IANA注意事项的指南可在RFC 2434中找到。

An application parameter is a hint to the receiver. It MUST NOT be used as a blind request to execute some arbitrary program.

应用程序参数是对接收器的提示。它不能用作执行任意程序的盲请求。

Instead, it should be viewed rather as an indication of what sort of application would be able to handle the content most appropriately.

相反,它应该被视为一种指示,表明什么样的应用程序能够最恰当地处理内容。

6. IANA Registration
6. IANA注册
      To: ietf-types@iana.org
      Subject: Registration of Standard MIME media type image/tiff
        
      To: ietf-types@iana.org
      Subject: Registration of Standard MIME media type image/tiff
        

MIME media type name: image

MIME媒体类型名称:映像

MIME subtype name: tiff

MIME子类型名称:tiff

Required parameters: none

所需参数:无

Optional parameters: application

可选参数:应用程序

There is no format specified for the value of this parameter in addition to that specified by [MIME1]. Various applications of TIFF may define values as required as hints to the receiver. There is no default value for application, as the absence of the application parameter indicates that the encoded TIFF image is Baseline TIFF or that it is not necessary to identify the application. It is up to the implementation to determine the application (if necessary) and render the image to the user.

除了[MIME1]指定的格式外,没有为此参数的值指定格式。TIFF的各种应用可根据需要定义值,作为对接收者的提示。应用程序没有默认值,因为缺少应用程序参数表示编码的TIFF图像是基线TIFF,或者不需要识别应用程序。由实现决定应用程序(如果需要)并向用户呈现图像。

Encoding considerations:

编码注意事项:

This media type consists of binary data. The base64 encoding should be used on transports that cannot accommodate binary data directly.

此媒体类型由二进制数据组成。base64编码应用于不能直接容纳二进制数据的传输。

Security considerations:

安全考虑:

TIFF utilizes a structure which can store image data and attributes of this image data. The fields defined in the TIFF specification are of a descriptive nature and provide information that is useful to facilitate the viewing and rendering of images by a recipient. As such, the fields currently defined in the TIFF specification do not in themselves create additional security risks, since the fields are not used to induce any particular behavior by the recipient application.

TIFF利用一种可以存储图像数据和该图像数据的属性的结构。TIFF规范中定义的字段具有描述性,并提供有助于收件人查看和呈现图像的信息。因此,TIFF规范中当前定义的字段本身不会产生额外的安全风险,因为这些字段不用于诱导接收方应用程序的任何特定行为。

TIFF has an extensible structure, so that it is theoretically possible that fields could be defined in the future which could be used to induce particular actions on the part of the recipient, thus presenting additional security risks, but

TIFF具有可扩展的结构,因此理论上可以在将来定义字段,这些字段可用于诱导接收方采取特定行动,从而带来额外的安全风险,但

this type of capability is not supported in the referenced TIFF specification. Indeed, the definition of fields which would include such processing instructions is inconsistent with the goals and spirit of the TIFF specification as defined to date.

参考的TIFF规范不支持这种类型的功能。事实上,包含此类处理指令的字段定义与迄今为止定义的TIFF规范的目标和精神不一致。

Interoperability considerations:

互操作性注意事项:

The ability of implementations to handle all the defined applications (or profiles within applications) of TIFF may not be ubiquitous. As a result, implementations may decode and attempt to display the encoded TIFF image data only to determine that the image cannot be rendered. The presence of the application parameter may aid in allowing this determination before dispatching for rendering. However, it should be noted that the parameter value is not intended to convey levels of capabilities for a particular application.

实现处理TIFF的所有已定义应用程序(或应用程序中的配置文件)的能力可能并不普遍。结果,实现可以解码并尝试仅显示编码的TIFF图像数据以确定图像不能被渲染。应用程序参数的存在可能有助于在调度渲染之前允许此确定。但是,应注意,参数值并非用于传达特定应用程序的功能级别。

Published specification:

已发布的规范:

TIFF (Tag Image File Format) is defined in: TIFF (TM) Revision 6.0 - Final June 3, 1992

TIFF(标签图像文件格式)定义于:TIFF(TM)6.0版-最终版1992年6月3日

Adobe Developers Association Adobe Systems Incorporated 345 Park Avenue San Jose, CA 95110-2704

Adobe开发者协会Adobe Systems Incorporated加利福尼亚州圣何塞公园大道345号,邮编95110-2704

         Phone: +1-408-536-6000
         Fax:   +1-408-537-6000
        
         Phone: +1-408-536-6000
         Fax:   +1-408-537-6000
        
         A copy of this specification can be found in:
         http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf
        
         A copy of this specification can be found in:
         http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf
        

Applications which use this media type:

使用此媒体类型的应用程序:

Imaging, fax, messaging and multi-media

图像、传真、信息和多媒体

Additional information:

其他信息:

         Magic number(s):
              II (little-endian):  49 49 2A 00 hex
              MM (big-endian):     4D 4D 00 2A hex
         File extension(s): .TIF
         Macintosh File Type Code(s): TIFF
        
         Magic number(s):
              II (little-endian):  49 49 2A 00 hex
              MM (big-endian):     4D 4D 00 2A hex
         File extension(s): .TIF
         Macintosh File Type Code(s): TIFF
        

Person & email address to contact for further information:

联系人和电子邮件地址,以获取更多信息:

Glenn W. Parsons gparsons@nortelnetworks.com

格伦·W·帕森斯gparsons@nortelnetworks.com

James Rafferty jraff@brooktrout.com

詹姆斯·拉弗蒂jraff@brooktrout.com

Intended usage: COMMON

预期用途:普通

Change controller: James Rafferty

变更控制员:詹姆斯·拉弗蒂

6. Security Considerations
6. 安全考虑

TIFF utilizes a structure which can store image data and attributes of this image data. The fields defined in the TIFF specification are of a descriptive nature and provide information that is useful to facilitate the viewing and rendering of images by a recipient. As such, the fields currently defined in the TIFF specification do not in themselves create additional security risks, since the fields are not used to induce any particular behavior by the recipient application.

TIFF利用一种可以存储图像数据和该图像数据的属性的结构。TIFF规范中定义的字段具有描述性,并提供有助于收件人查看和呈现图像的信息。因此,TIFF规范中当前定义的字段本身不会产生额外的安全风险,因为这些字段不用于诱导接收方应用程序的任何特定行为。

TIFF has an extensible structure, so that it is theoretically possible that fields could be defined in the future which could be used to induce particular actions on the part of the recipient, thus presenting additional security risks, but this type of capability is not supported in the referenced TIFF specification. Indeed, the definition of fields which would include such processing instructions is inconsistent with the goals and spirit of the TIFF specification as defined to date.

TIFF具有可扩展的结构,因此理论上可以在将来定义字段,这些字段可用于引导接收方的特定操作,从而带来额外的安全风险,但参考TIFF规范不支持这种类型的功能。事实上,包含此类处理指令的字段定义与迄今为止定义的TIFF规范的目标和精神不一致。

7. Changes from RFC 2302
7. RFC 2302的变更

* Correction of magic number * Improvements of the security considerations * Change of change controller * Various editorials to improve clarity

* 更正幻数*改进安全注意事项*更改控制器*各种社论以提高清晰度

8. References
8. 工具书类
8.1 Normative References
8.1 规范性引用文件

[REQ] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[REQ]Bradner,S.,“在RFC中用于指示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[MIME1] Freed, N. and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies", RFC 2045, November 1996.

[MIME1]Freed,N.和N.Borenstein,“多用途Internet邮件扩展(MIME)第一部分:Internet邮件正文格式”,RFC 20451996年11月。

[MIME4] Freed, N. and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures", BCP 13, RFC 2048, November 1996.

[MIME4]Freed,N.和N.Borenstein,“多用途互联网邮件扩展(MIME)第四部分:注册程序”,BCP 13,RFC 2048,1996年11月。

[TIFF] Adobe Developers Association, TIFF (TM) Revision 6.0 - Final, June 3, 1992.

[TIFF]Adobe开发者协会,TIFF(TM)6.0版-最终版,1992年6月3日。

8.2 Non-Normative References
8.2 非规范性引用文件

[TIFFREG] Parsons, G., Rafferty, J. and S. Zilles, "Tag Image File Format (TIFF) -image/tiff MIME Sub-type Registration", RFC 2302, March 1998.

[TIFFREG]Parsons,G.,Rafferty,J.和S.Zilles,“标签图像文件格式(TIFF)-图像/TIFF MIME子类型注册”,RFC 2302,1998年3月。

[TPC.INT] Malamud, C. and M. Rose, "Principles of Operation for the TPC.INT Subdomain: Remote Printing -- Technical Procedures", RFC 1528, October 1993.

[TPC.INT]Malamud,C.和M.Rose,“TPC.INT子域的操作原则:远程打印——技术程序”,RFC 15281993年10月。

9. Authors' Addresses
9. 作者地址

Glenn W. Parsons Nortel Networks P.O. Box 3511, Station C Ottawa, ON K1Y 4H7 Canada

加拿大K1Y 4H7渥太华C站Glenn W.Parsons Nortel Networks邮政信箱3511

   Phone: +1-613-763-7582
   Fax:   +1-613-763-2697
   EMail: gparsons@nortelnetworks.com
        
   Phone: +1-613-763-7582
   Fax:   +1-613-763-2697
   EMail: gparsons@nortelnetworks.com
        

James Rafferty Brooktrout Technology 410 First Avenue Needham, MA 02494 USA

James Rafferty Brooktrout Technology 410第一大道李约瑟,马萨诸塞州02494

   Phone: +1-781-433-9462
   Fax:   +1-781-433-9268
   EMail: jraff@brooktrout.com
        
   Phone: +1-781-433-9462
   Fax:   +1-781-433-9268
   EMail: jraff@brooktrout.com
        
10. Full Copyright Statement
10. 完整版权声明

Copyright (C) The Internet Society (2002). All Rights Reserved.

版权所有(C)互联网协会(2002年)。版权所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

本文件及其译本可复制并提供给他人,对其进行评论或解释或协助其实施的衍生作品可全部或部分编制、复制、出版和分发,不受任何限制,前提是上述版权声明和本段包含在所有此类副本和衍生作品中。但是,不得以任何方式修改本文件本身,例如删除版权通知或对互联网协会或其他互联网组织的引用,除非出于制定互联网标准的需要,在这种情况下,必须遵循互联网标准过程中定义的版权程序,或根据需要将其翻译成英语以外的其他语言。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

本文件和其中包含的信息是按“原样”提供的,互联网协会和互联网工程任务组否认所有明示或暗示的保证,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。

Acknowledgement

确认

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC编辑功能的资金目前由互联网协会提供。