rfc2880.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 1,730 行 · 第 1/5 页

TXT
1,730 行
字号

      - T53 is obtained from the table in section 5.3

      - T54 is obtained from the table in section 5.4

   The resulting expression is the feature set expression corresponding
   to the DIS bits given.  Remember that there may be other capabilities
   not expressed by the DIS bits that should be incorporated into the
   final feature expression (e.g. TIFF image file structure).

   To do the reverse transformation, match the feature set to each row
   of each decision table using the matching algorithm in RFC 2533 [2],
   and OR together the DIS bit masks for each row whose feature set
   expression is completely contained by (i.e. is a subset of) that
   given (where the bit value in a table is 'x', use '0').

   A feature set A is completely contained by B if the feature set match
   of A and B (obtained by applying the feature set matching algorithm
   in [2]) is equal to A.








McIntyre & Klyne             Informational                     [Page 19]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


5.1 Image coding

5.1.1 Bi-level coding

<------- T.30 bits --------->
15|16|31|36|37|68|69|73|78|79||Feature set expression
--+--+--+--+--+--+--+--+--+--++---------------------------------------
 x| 0| 0|  |  |  |  |  | 0| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH]) )
 x| 1| 0|  |  |  |  |  | 0| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR])
 x| 0| 1|  |  |  |  |  | 0| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MMR])
 x| 1| 1|  |  |  |  |  | 0| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR,MMR])
 x| 0| 0|  |  |  |  |  | 1| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size=128) )
 x| 1| 0|  |  |  |  |  | 1| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size=128) )
 x| 0| 1|  |  |  |  |  | 1| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MMR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size=128) )
 x| 1| 1|  |  |  |  |  | 1| 0||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR,MMR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size=128) )
 x| 0| 0|  |  |  |  |  |*1| 1||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size>=0) )
 x| 1| 0|  |  |  |  |  |*1| 1||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size>=0) )
 x| 0| 1|  |  |  |  |  |*1| 1||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MMR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size>=0) )
 x| 1| 1|  |  |  |  |  |*1| 1||(& (color=binary)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[MH,MR,MMR,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JBIG-T85)
  |  |  |  |  |  |  |  |  |  ||   (JBIG-stripe-size>=0) )
--+--+--+--+--+--+--+--+--+--++---------------------------------------



McIntyre & Klyne             Informational                     [Page 20]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


5.1.2 Multi-level coding

<------- T.30 bits --------->
15|16|31|36|37|68|69|73|78|79||Feature set expression
--+--+--+--+--+--+--+--+--+--++---------------------------------------
 x|  |  |*0| x| 0| x| x|  |  ||
*1|  |  | 0| x| 1| 0| x|  |  ||(& (color=grey)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=JPEG)
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JPEG-T4E) )
*1|  |  | 0| x| 1| 1| 0|  |  ||(& (color=[grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=JPEG)
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JPEG-T4E)
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling="4:1:1") ) )
*1|  |  | 0| x| 1| 1| 1|  |  ||(& (color=[grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=JPEG)
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=JPEG-T4E)
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling=
  |  |  |  |  |  |  |  |  |  ||       ["1:1:1","4:1:1"]) ) )
*1|  |  | 1| 0|*1| 0| x|  |  ||(& (color=grey)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=stripe) )
*1|  |  | 1| 1|*1| 0| x|  |  ||(& (color=grey)
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=[stripe,plane]) )
*1|  |  | 1| 0|*1| 1| 0|  |  ||(& (color=[limited,mapped,grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling="4:1:1"]) )
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=stripe) )
*1|  |  | 1| 0|*1| 1| 1|  |  ||(& (color=[limited,mapped,grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling=
  |  |  |  |  |  |  |  |  |  ||       ["1:1:1","4:1:1"]) )
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=stripe) )






McIntyre & Klyne             Informational                     [Page 21]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


*1|  |  | 1| 1|*1| 1| 0|  |  ||(& (color=[limited,mapped,grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling="4:1:1"]) )
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=[stripe,plane]) )
*1|  |  | 1| 1|*1| 1| 1|  |  ||(& (color=[limited,mapped,grey,full])
  |  |  |  |  |  |  |  |  |  ||   (image-coding=[JPEG,JBIG])
  |  |  |  |  |  |  |  |  |  ||   (image-coding-constraint=
  |  |  |  |  |  |  |  |  |  ||    [JPEG-T4E,JBIG-T43])
  |  |  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  |  |  ||      (image-coding=JPEG)
  |  |  |  |  |  |  |  |  |  ||      (color-subsampling=
  |  |  |  |  |  |  |  |  |  ||       ["1:1:1","4:1:1"]) )
  |  |  |  |  |  |  |  |  |  ||   (image-interleave=[stripe,plane]) )
--+--+--+--+--+--+--+--+--+--++---------------------------------------
15|16|31|36|37|68|69|73|78|79||
--+--+--+--+--+--+--+--+--+--++---------------------------------------

5.1.3 MRC format

<---- T.30 bits ------>
15|92|93|94|95|  |  |  ||Feature set expression
--+--+--+--+--+--+--+--++---------------------------------------
 x| 0| 0| 0| x|  |  |  ||(MRC-mode=0)
*1| #| #| #| 0|  |  |  ||(& (MRC-mode<=###)
  |  |  |  |  |  |  |  ||   (MRC-max-stripe-size=[0..256]) )
*1| #| #| #| 1|  |  |  ||(& (MRC-mode<=###)
  |  |  |  |  |  |  |  ||   (MRC-max-stripe-size>=0) )
--+--+--+--+--+--+--+--++---------------------------------------




















McIntyre & Klyne             Informational                     [Page 22]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


5.2 Resolution and units

<------- T.30 bits ------>
15|41|42|43|44|45|68|97|98||Feature set expression
--+--+--+--+--+--+--+--+--++-----------------------------------------
 0|  |  | 0|  |  |  |  |  ||(& (color=binary)
  |  |  |  |  |  |  |  |  ||   (| (& (dpi=200) (dpi-xyratio=200/100) )
  |  |  |  |  |  |  |  |  ||      (& (dpi=204)
  |  |  |  |  |  |  |  |  ||         (dpi-xyratio=204/98) ) ) )
  |  |  |  |  |  |  |  |  ||
 1|  |  | 0|  |  |  |  |  ||(| (& (color=binary)
  |  |  |  |  |  |  |  |  ||      (| (& (dpi=204)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=204/98) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=204)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=204/196) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=200)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=200/100) ) ) )
  |  |  |  |  |  |  |  |  ||   (& (dpi=200) (dpi-xyratio=1) ) )
 0|  |  | 1|  |  |  |  |  ||(| (& (color=binary)
  |  |  |  |  |  |  |  |  ||      (| (& (dpi=204)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=204/98) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=408)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=408/391) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=200)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=200/100) ) ) )
  |  |  |  |  |  |  |  |  ||   (& (dpi=400) (dpi-xyratio=1) ) )
 1|  |  | 1|  |  |  |  |  ||(| (& (color=binary)
  |  |  |  |  |  |  |  |  ||      (| (& (dpi=204)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=204/98) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=204)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=204/196) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=408)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=408/391) )
  |  |  |  |  |  |  |  |  ||         (& (dpi=200)
  |  |  |  |  |  |  |  |  ||            (dpi-xyratio=200/100) ) ) )
  |  |  |  |  |  |  |  |  ||   (& (dpi=200) (dpi-xyratio=1) )
  |  |  |  |  |  |  |  |  ||   (& (dpi=400) (dpi-xyratio=1) ) )
--+--+--+--+--+--+--+--+--++-----------------------------------------
  | 0|  |  |  |  |  |  |  ||
  | 1|  |  |  |  |  |  |  ||(& (color=binary)
  |  |  |  |  |  |  |  |  ||   (dpi=204)
  |  |  |  |  |  |  |  |  ||   (dpi-xyratio=204/391) )
--+--+--+--+--+--+--+--+--++-----------------------------------------
  |  | 0|  |  |  |  |  |  ||
  |  | 1|  |  |  |  |  |  ||(& (dpi=300) (dpi-xyratio=1) )






McIntyre & Klyne             Informational                     [Page 23]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


--+--+--+--+--+--+--+--+--++-----------------------------------------
  |  | x| x|  |  | x| 0|  ||
  |  | x| 1|  |  |*1| 1|  ||(& (dpi=400) (dpi-xyratio=1) )
  |  |*1| 0|  |  |*1| 1|  ||
--+--+--+--+--+--+--+--+--++-----------------------------------------
  |  |  |  |  |  | x|  | 0||
  |  |  |  |  |  |*1|  | 1||(| (color=binary)
  |  |  |  |  |  |  |  |  ||   (& (color=[limited,mapped,grey,full])
  |  |  |  |  |  |  |  |  ||      (dpi=100) (dpi-xyratio=1) ) )
--+--+--+--+--+--+--+--+--++-----------------------------------------
15|41|42|43|44|45|68|97|98||
--+--+--+--+--+--+--+--+--++-----------------------------------------

   Note:  all numbers in media feature expressions are integer or
   rational values;  hence the rational number format (n/m) used here.

   Also note:  the preferred unit bits (44,45) are not tested here, as a
   Group 3 fax machine must accept and process either form of units for
   binary images.  All resolutions are expressed in dpi;  here are the
   metric unit equivalents:

   204  ~= (1728/215)*25.4  ~=  8.04dpmm expressed in dpi
   408  ~= (3456/215)*25.4  ~= 16.08dpmm expressed in dpi
    98  ~=  3.85*25.4       ~=  3.85dpmm expressed in dpi
   196  ~=  7.70*25.4       ~=  7.70dpmm expressed in dpi
   391  ~= 15.40*25.4       ~= 15.40dpmm expressed in dpi

5.3 Colour capabilities

<------- T.30 bits --->
36|68|69|71|74|75|  |  ||Feature set expression
--+--+--+--+--+--+--+--++-----------------------------------------
 0| 0| x|  |  |  |  |  ||
 x| 1| 0|  |  |  |  |  ||(| (color=binary)
  |  |  |  |  |  |  |  ||   (& (color=grey)
  |  |  |  |  |  |  |  ||      (color-space=CIELAB) ) )
 0| 1| 1|  |  |  |  |  ||(| (color=binary)
  |  |  |  |  |  |  |  ||   (& (color=[grey,full])
  |  |  |  |  |  |  |  ||      (color-space=CIELAB) ) )
 1|*1| 1|  |  |  |  |  ||(| (color=binary)
  |  |  |  |  |  |  |  ||   (& (color=limited)
  |  |  |  |  |  |  |  ||      (color-space=[Device-RGB,Device-CMY])
  |  |  |  |  |  |  |  ||      (color-levels<=8) )
  |  |  |  |  |  |  |  ||   (& (color=limited)
  |  |  |  |  |  |  |  ||      (color-space=Device-CMYK)
  |  |  |  |  |  |  |  ||      (color-levels<=16) )
  |  |  |  |  |  |  |  ||   (& (color=[mapped,grey,full])
  |  |  |  |  |  |  |  ||      (color-space=CIELAB) ) )



McIntyre & Klyne             Informational                     [Page 24]

RFC 2880           Internet Fax T.30 Feature Mapping         August 2000


--+--+--+--+--+--+--+--++-----------------------------------------
  | 0|  | x|  |  |  |  ||
  | 1|  | 0|  |  |  |  ||(| (color=[binary,limited])
  |  |  |  |  |  |  |  ||   (& (color=mapped)
  |  |  |  |  |  |  |  ||      (color-levels<=4096) )
  |  |  |  |  |  |  |  ||   (& (color=grey)
  |  |  |  |  |  |  |  ||      (color-levels<=256) )
  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  ||      (color-levels<=16777216) ) )
  | 1|  | 1|  |  |  |  ||(| (color=[binary,limited])
  |  |  |  |  |  |  |  ||   (& (color=mapped)
  |  |  |  |  |  |  |  ||      (color-levels<=65536) )
  |  |  |  |  |  |  |  ||   (& (color=grey)
  |  |  |  |  |  |  |  ||      (color-levels<=4096) )
  |  |  |  |  |  |  |  ||   (& (color=full)
  |  |  |  |  |  |  |  ||      (color-levels<=68719476736) ) )
--+--+--+--+--+--+--+--++-----------------------------------------
  | 0|  |  | x|  |  |  ||
  | 1|  |  | 0|  |  |  ||(| (color=[binary,limited])
  |  |  |  |  |  |  |  ||   (& (color=[mapped,grey,full])
  |  |  |  |  |  |  |  ||      (color-illuminant=D50) ) )
  | 1|  |  | 1|  |  |  ||   -- Any color illuminant: D50 or custom
  |  |  |  |  |  |  |  ||   -- See note below
--+--+--+--+--+--+--+--++-----------------------------------------
  | 0|  |  |  | x|  |  ||
  | 1|  |  |  | 0|  |  ||(| (color=[binary,limited])
  |  |  |  |  |  |  |  ||   (& (color=grey)
  |  |  |  |  |  |  |  ||      (CIELAB-L-min>=0)
  |  |  |  |  |  |  |  ||      (CIELAB-L-max<=100) )
  |  |  |  |  |  |  |  ||   (& (color=[mapped,full])
  |  |  |  |  |  |  |  ||      (CIELAB-L-min>=0)
  |  |  |  |  |  |  |  ||      (CIELAB-L-max<=100)
  |  |  |  |  |  |  |  ||      (CIELAB-a-min>=-85)
  |  |  |  |  |  |  |  ||      (CIELAB-a-max<=85)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?