summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc2879.txt
blob: 75458fba199890b3d65ea3b55c300783c596161f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
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
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
Network Working Group                                             G. Klyne
Request for Comments: 2879                            Content Technologies
Obsoletes: 2531                                                L. McIntyre
Category: Standards Track                                Xerox Corporation
                                                               August 2000

              Content Feature Schema for Internet Fax (V2)

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.

Copyright Notice

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

Abstract

   This document defines a content media feature schema for Internet
   fax.

   It is a profile of the media feature registration mechanisms [1,2,3]
   for use in performing capability identification between extended
   Internet fax systems [5].  It replaces and updates the feature schema
   defined in RFC 2531.

Table of Contents

   1. Introduction .............................................2
      1.1 Organization of this document ........................3
      1.2 Terminology and document conventions .................3
      1.3 Discussion of this document ..........................4
   2. Fax feature schema syntax ................................4
   3. Internet fax feature tags ................................4
      3.1 Image size ...........................................5
      3.2 Resolution ...........................................5
      3.3 Media type ...........................................6
      3.4 Paper Size ...........................................6
      3.5 Color capability .....................................7
      3.6 Color model ..........................................8
      3.7 Image coding ........................................11
      3.8 MRC mode ............................................12
   4. Examples ................................................13
      4.1 Simple mode Internet fax system  ....................13



Klyne & McIntyre            Standards Track                     [Page 1]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


      4.2 High-end black-and-white Internet fax system.........14
      4.3 Grey-scale Internet fax system ......................14
      4.4 Full-color Internet fax system (JPEG only) ..........15
      4.5 Full-color Internet fax system (JPEG and JBIG) ......16
      4.6 Full-color Internet fax system (MRC) ................17
      4.7 Sender and receiver feature matching ................19
   5. IANA Considerations .....................................21
   6. Security Considerations .................................21
      6.1 Capability descriptions and mechanisms ..............21
      6.2 Specific threats ....................................21
   7. Acknowledgements ........................................22
   8. References ..............................................22
   9. Authors' Addresses ......................................24
   Appendix A: Feature registrations ..........................25
      A.1 Image size ..........................................25
      A.2 Resolution aspect ratio .............................27
      A.3 Color levels ........................................28
      A.4 Color space  ........................................30
      A.5 CIELAB color illuminant .............................33
      A.6 CIELAB color depth ..................................35
      A.7 CIELAB color gamut ..................................37
      A.8 Image file structure ................................39
      A.9 Image data coding ...................................41
      A.10 Image coding constraint ............................43
      A.11 JBIG stripe size .................................. 44
      A.12 Image interleave ...................................46
      A.13 Color subsampling ..................................47
      A.14 MRC availability and mode ..........................49
      A.15 MRC maximum stripe size ............................50
   Appendix B: TIFF mode descriptions .........................52
   Appendix C: Changes from RFC 2531 ..........................57
   Full Copyright Statement ...................................58

1. Introduction

   This document defines a content media feature schema for Internet
   fax.

   It is a profile of the media feature registration mechanisms [1,2,3]
   for use in performing capability identification between extended
   Internet fax systems [5].  It replaces and updates the feature schema
   defined in RFC 2531.

   The media feature description mechanisms do not describe any specific
   mechanisms for communicating capability information, but do presume
   that any such mechanisms will transfer textual values.  In
   conjunction with this feature schema, they specify a textual format
   to be used for describing Internet Fax capability information.



Klyne & McIntyre            Standards Track                     [Page 2]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   The range of capabilities that can be indicated are based on those
   covered by the TIFF file format for Internet fax [7] and Group 3
   facsimile [6].  A companion document [4] describes the relationship
   and mapping between this schema and Group 3 fax capabilities.

1.1 Organization of this document

   Section 2 specifies the overall syntax for fax feature descriptions
   by reference to the media feature registration and syntax documents
   [1,2].

   Section 3 enumerates the feature tags that are to be recognized and
   processed by extended Internet fax systems, according to their
   capabilities.

   Appendix A contains additional feature tag registrations for media
   features that are specific to fax and for which no applicable
   registration already exists.  These are presented in the form
   prescribed by the media feature registration procedure [1].

1.2 Terminology and document conventions

   The term "extended Internet fax system" is used to describe any
   software, device or combination of these that conforms to the
   specification "Extended Facsimile Using Internet Mail" [5].

   "capability exchange" describes any transfer of information between
   communicating systems that is used to indicate system capabilities
   and hence determine the form of data transferred.  This term covers
   both one-way and two-way transfers of capability information.

   "capability identification" is a particular form of capability
   exchange in which a receiving system provides capability information
   to a sending system.

   "capability description" is a collection of data presented in some
   specific format that describes the capabilities of some communicating
   entity.  It may exist separately from any specific capability
   exchange mechanism.

        NOTE:  Comments like this provide additional nonessential
        information about the rationale behind this document.
        Such information is not needed for building a conformant
        implementation, but may help those who wish to understand
        the design in greater depth.






Klyne & McIntyre            Standards Track                     [Page 3]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


1.3 Discussion of this document

   Discussion of this document should take place on the Internet fax
   mailing list hosted by the Internet Mail Consortium (IMC).  Please
   send comments regarding this document to:

       ietf-fax@imc.org

   To subscribe to this list, send a message with the body 'subscribe'
   to "ietf-fax-request@imc.org".

   To see what has gone on before you subscribed, please see the mailing
   list archive at:

       http://www.imc.org/ietf-fax/

2. Fax feature schema syntax

   The syntax for the fax feature schema is described by "A syntax for
   describing media feature sets" [2].  This in turn calls upon media
   feature tags that may be registered according to the procedure
   described in "Media Feature Tag Registration Procedure" [1].

        NOTE:  Media feature registration provides a base
        vocabulary of features that correspond to media handling
        capabilities.  The feature set syntax provides a
        mechanism and format for combining these to describe
        combinations of features.  This memo indicates those
        features that may be associated with extended Internet
        fax systems.

3. Internet fax feature tags

   This section enumerates and briefly describes a number of feature
   tags that are defined for use with extended Internet fax systems and
   applications.  These tags may be used also by other systems and
   applications that support corresponding capabilities.

   The feature tags presented below are those that an extended Internet
   fax system is expected to recognize its ability or non-ability to
   handle.

   Definitive descriptions of feature tags are indicated by reference to
   their registration according to the media feature registration
   procedure [1] (some of which are appended to this document).






Klyne & McIntyre            Standards Track                     [Page 4]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        NOTE:  The presence of a feature tag in this list does
        not mean that an extended Internet fax system must have
        that capability;  rather, it must recognize the feature
        tag and deal with it according to the capabilities that
        it does have.

        Further, an extended Internet fax system is not prevented
        from recognizing and offering additional feature tags.
        The list below is intended to provide a basic vocabulary
        that all extended Internet fax systems can use in a
        consistent fashion.

        If an unrecognized or unused feature tag is received, the
        feature set matching rule (described in [2]) operates so
        that tag is effectively ignored.

3.1 Image size

   Feature tag name    Legal values
   ----------------    ------------
   size-x              <Rational> (>0)
   size-y              <Rational> (>0)

   Reference:  this document, Appendix A.

   These feature values indicate a rendered document size in inches.

   Where the actual size is measured in millimetres, a conversion
   factor of 10/254 may be applied to yield an exact inch-based value.

3.2 Resolution

   Feature tag name    Legal values
   ----------------    ------------
   dpi                 <Integer> (>0)
   dpi-xyratio         <Rational> (>0)

   Reference: "Media Features for Display, Print, and Fax" [3], and this
   document appendix A.

   If 'dpi-xyratio' is present and not equal to 1 then the horizontal
   resolution (x-axis) is indicated by the 'dpi' feature value, and the
   vertical resolution (y-axis) is the value of 'dpi' divided by 'dpi-
   xyratio'.







Klyne & McIntyre            Standards Track                     [Page 5]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   For example, the basic Group 3 fax resolution of 200*100dpi might be
   indicated as:

      (& (dpi=200) (dpi-xyratio=200/100) )

   When describing resolutions for an MRC format document, the complete
   set of usable resolutions is listed.  However, there are some
   restrictions on their use:  (a) 100dpi resolution can be used only
   with multi-level images, and (b) any multi-level image resolution is
   required to be an integral sub-multiple of the applicable mask
   resolution.

3.3 Media type

   Feature tag name    Legal values
   ----------------    ------------
   ua-media            screen
                       screen-paged
                       stationery
                       transparency
                       envelope
                       envelope-plain
                       continuous

   Reference: "Media Features for Display, Print, and Fax" [3].

        NOTE: Where the recipient indicates specific support for
        hard copy or soft copy media type, a sender of color
        image data may wish to adjust the color components (e.g.
        per the related rules of ITU recommendation T.42 [9]) to
        improve rendered image quality on that medium.

3.4 Paper Size

   Feature tag name    Legal values
   ----------------    ------------
   paper-size          A4
                       A3
                       B4
                       letter
                       legal

   Reference: "Media Features for Display, Print, and Fax" [3].








Klyne & McIntyre            Standards Track                     [Page 6]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


3.5 Color capability

   Feature tag name    Legal values
   ----------------    ------------
   color               Binary  (bi-level only)
                       Limited (a limited number of colors)
                       Mapped  (palette or otherwise mapped color)
                       Grey    (grey-scale only)
                       Full    (full continuous-tone color)

   Reference: "Media Features for Display, Print, and Fax" [3].

   The intention here is to give a broad indication of color handling
   capabilities that might be used, for example, to select among a small
   number of available data resources.

   The value of this feature also gives an indication of the more
   detailed color handling features that might be applicable (see next
   section).

   'Binary' indicates blank-and-white, or other bi-level capability.  No
   further qualifying feature tags are required.

   'Limited' indicates a small number of distinct fixed colors, such as
   might be provided by a highlight printer, pen plotter or limited
   color display.  The 'color-levels' tag should be used to indicate the
   number of distinct colors available.

        NOTE:  No ability to indicate any specific or named color
        is implied by this option.  Some devices might use
        different intensity levels rather than different hues for
        distinction.

   In the context of Internet fax, 'limited' is interpreted as one-bit-
   per-color-sample (RGB, CMY or CMYK), depending on the color space
   used.

   'Mapped' indicates that pixel color values are mapped in some
   specifiable way to a multi-component color space.  The 'color-levels'
   tag may be used to indicate the number of distinct colors available;
   in its absence, sufficient levels to display a photographic image
   should be assumed.

   'Grey' indicates a continuous tone grey-scale capability.

   'Full' indicates full continuous tone color capability.





Klyne & McIntyre            Standards Track                     [Page 7]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   For 'Mapped', 'Grey' and 'Full' color, additional feature tags
   (section 3.6) may be used to further qualify the color reproduction.

3.6 Color model

   Feature tag name    Legal values
   ----------------    ------------
   color-levels        <integer>   (>2)
   color-space         Device-RGB  (device RGB)
                       Device-CMY  (device CMY)
                       Device-CMYK (device CMYK)
                       CIELAB      (LAB per T.42 [9])
                       (may be extended by further registrations)
   color-illuminant    <token>     (per ITU T.4 [13], E.6.7)
                       D50
                       D65
                       D75
                       SA
                       SC
                       F2
                       F7
                       F11
                       CTnnnn      (see below)
   CIELAB-L-depth      <integer>   (>0)
   CIELAB-a-depth         "
   CIELAB-b-depth         "
   CIELAB-L-min        <integer>
   CIELAB-L-max           "
   CIELAB-a-min           "
   CIELAB-a-max           "
   CIELAB-b-min           "
   CIELAB-b-max           "

   Reference: this document, appendix A.

   The general model for image handling (both color and non-color) is
   described here from a receiver's perspective;  a similar model
   operates in the reverse direction for a scan/send perspective:

        raw bit        pixel         color         physical
        stream  -(A)-> values -(B)-> values -(C)-> rendition

    -   "raw bit stream" is a stream of coded bits

   (A)  indicates image coding/decoding (MH,MR,MMR,JPEG,JBIG,etc.)

    -   "pixel values" are a single numeric value per picture element
        that designates the color of that element.



Klyne & McIntyre            Standards Track                     [Page 8]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   (B)  indicates pixel-to-color value mapping

    -   "color values" have a separate numeric value for each color
        component (i.e. L*, a*, b* in the case of CIELAB indicated
        above.)

   (C)  indicates how the color values are related to a physical
        color.  This involves interpretation of the color value with
        respect to a color model (e.g. RGB, L*a*b*, CMY, CMYK) and a
        color space (which is typically recipient-dependent).

    -   "physical rendition" is a color value physically realized on a
        display, printer or other device.

   There are many variables that can be applied at each stage of the
   processing of a color image, and any may be critical to meaningful
   handling of that image in some circumstances.  In other circumstances
   many of the variables may be implied (to some level of approximation)
   in the application that uses them (e.g. color images published on a
   Web page).

   The color feature framework described here is intended to allow
   capability description at a range of granularity:  feature tags which
   correspond to implied (or "don't care" or "unknown") feature values
   may simply be omitted from a capability description.

   Grey scale and bi-level images are handled within this framework as a
   special case, having a 1-component color model.  The following
   features are used for describing color capabilities:

   'color-levels' indicates the number of distinct values for each
   picture element, and applies to all but bi-level images.  For bi-
   level images, a value of 2 is implied.

   'color-space' is used mainly with 'Mapped' and 'Full', but could be
   used with other modes if the exact color or color model used is
   significant.  Two kinds of color space can be distinguished:
   device-dependent and calibrated.  Device dependent spaces are named
   here as 'Device-xxx', and are used to indicate a color space that is
   defined by the receiving device.  Calibrated color spaces presume the
   existence of a rendering system that is calibrated with respect to an
   indicated definition, and is capable of processing the device-
   independent color information accordingly.








Klyne & McIntyre            Standards Track                     [Page 9]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   A color-handling receiver should indicate any appropriate device
   color space capability in addition to any calibrated color spaces
   that it may support.  A calibrated color space should be used when
   precise color matching is required in the absence of specific
   knowledge of the receiving system.

     NOTE:  In practice, although they appear to be separate
     concepts, the color model and color space cannot be
     separated.  In the final analysis, a color model (RGB,
     CMY, etc.) must be defined with respect to some color
     space.

   'color-illuminant' indicates a CIE illuminant, using the same general
   form that is used for this purpose by Group 3 fax (as defined in ITU
   T.4 [13], section E.6.7).  When the illuminant is specified by its
   color temperature, the token string 'CTnnnn' is used, where 'nnnn' is
   a decimal number that is the color temperature in Kelvins; e.g.
   CT7500 indicates an illuminant color temperature of 7500K.

     NOTE: ITU T.4 indicates a binary representation for color
     temperature values.

     In practice, much of the illuminant detail given here
     will probably be unused by Internet fax.  The only value
     likely to be specified is 'D50', which is the default
     color illuminant for Group 3 fax.

   'CIELAB-L-depth', 'CIELAB-a-depth' and 'CIELAB-b-depth' indicate the
   number of different values that are possible for the L*, a* and b*
   color components respectively, and are significant only when colors
   are represented in a CIELAB color space.  These features would be
   used with palletized color, or with full color where each color
   component has a different number of possible values.

   Color depth values relate to the representation of colour values
   rather than the resolution of a scanning or rendering device.  Thus,
   if 256 different L-component values can be represented then the
   assertion (CIELAB-L-depth<=256) is used, even if a receiving device
   can render only 100 distinct luminance values.  (Color rendering
   resolution is not covered by this memo.)

   The 'CIELAB-x-min' and 'CIELAB-x-max' values indicate a color gamut
   (i.e. a range of color values that are used or may be rendered).  A
   gamut may be indicated in terms of the CIELAB color space even when
   colors are represented in some other space.






Klyne & McIntyre            Standards Track                    [Page 10]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


3.7 Image coding

   Feature tag name    Legal values
   ----------------    ------------
   image-file-         TIFF
   structure           TIFF-limited
                       TIFF-minimal
                       TIFF-MRC
                       TIFF-MRC-limited
                       (may be extended by further registrations)
   image-coding        MH
                       MR
                       MMR
                       JBIG
                       JPEG
                       (may be extended by further registrations)
   image-coding-       JBIG-T85    (bi-level, per ITU T.85)
   constraint          JBIG-T43    (multi-level, per ITU T.43)
                       JPEG-T4E    (per ITU T.4, Annex E)
                       (may be extended by further registrations)
   JBIG-stripe-size    <Integer>
   image-interleave    Stripe
                       Plane
   color-subsampling   "1:1:1"     (no color subsampling)
                       "4:1:1"     (4:1:1 color subsampling)

   Reference: this document, appendix A.

   'image-file-structure' defines how the coded image data is wrapped
   and formatted.  The following options are defined here:

   o  'TIFF' indicates image data enclosed and tagged using TIFF
      structures described in Adobe's definition of TIFF [20].

   o  'TIFF-limited' indicates image data structured using TIFF, but
      with the limitations on the placement of Image File Descriptors
      (IFDs) indicated in section 4.4.6 of RFC 2301 [7].

   o  'TIFF-minimal' indicates a TIFF image format that meets the IFD
      placement, byte ordering and bit ordering requirements of the
      "minimal black and white mode" described in section 3.5 of RFC
      2301 [7], also known as TIFF-S.

   o  'TIFF-MRC' uses a TIFF image structure [20] augmented with a sub-
      IFD structure, described for the "Mixed Raster Content mode" in
      section 8.1.2 of RFC 2301 [7], also known as TIFF-M.  This
      provides a file structure to contain composite images constructed
      using the MRC model described in T.44 [15] (see tag 'MRC-mode').



Klyne & McIntyre            Standards Track                    [Page 11]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   o  'TIFF-MRC-limited' is the same as 'TIFF-MRC', except that the
      primary IFD (i.e. top-level IFDs, as opposed to sub-IFDs)
      placement is constrained in the same way as 'TIFF-limited'.

   'image-coding' describes how raw image data is compressed and coded
   as a sequence of bits.  These are generic tags that may apply to a
   range of file formats and usage environments.

   'image-coding-constraint' describes how the raw image data coding
   method is constrained to meet a particular operating environment.
   Options defined here are JBIG and JPEG coding constraints that apply
   in typical Group 3 fax environments.

   The 'JBIG-stripe-size' feature may be used with JBIG image coding,
   and indicates the number of scan lines in each stripe except the last
   in an image.  The legal constraints are:

      (JBIG-stripe-size=128)
      (JBIG-stripe-size>=0)

   The latter being equivalent to no restriction.

     NOTE: there are several image coding options here, and
     not all are required in all circumstances.

     Specification of the image-file-structure tag value alone
     is not normally sufficient to describe the capabilities
     of a recipient.  A general rule is that sufficient detail
     should be provided to exclude any unsupported features.

     For extended Internet fax, image-file-structure and
     image-coding should always be specified, together with
     additional values described above as needed to clearly
     indicate which feature tag values are supported and which
     are not.  (See also the examples in section 4.)

3.8 MRC mode

   Feature tag name    Legal values
   ----------------    ------------
   MRC-mode            <Integer> (0..7)   (per ITU T.44 [15])
   MRC-max-stripe-size <Integer>

   Reference: this document, appendix A.







Klyne & McIntyre            Standards Track                    [Page 12]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   The 'MRC-mode' feature is used to indicate the availability of MRC
   (mixed raster content) image format capability.  A zero value
   indicates MRC is not available, a non-zero value indicates the
   maximum available MRC mode number.

   An MRC formatted document is actually a collection of several images,
   each of which is described by a separate feature collection.  An
   MRC-capable receiver is presumed to be capable of accepting any
   combination of contained images that conform to both the MRC
   construction rules and the image-coding capabilities declared
   elsewhere.

   Within an MRC-formatted document, multi-level coders are used for
   foreground and background images (i.e. odd-numbered layers: 1, 3, 5,
   etc.) and bi-level coders are used for mask layers (i.e. even
   numbered layers 2, 4, 6, etc.).  MRC format also imposes constraints
   on the resolutions that can be used.

   The 'MRC-max-stripe-size' feature may be used with MRC coding, and
   indicates the maximum number of scan lines in each MRC stripe.  The
   legal constraints are:

      (MRC-max-stripe-size<=256)
      (MRC-max-stripe-size>=0)

   These values indicate upper bounds on the stripe size.  The actual
   value may vary between stripes, and the actual size for each stripe
   is indicated in the image data.

4. Examples

   The level of detail captured here reflects that used for capability
   identification in Group 3 facsimile.

4.1 Simple mode Internet fax system

   This example describes the capabilities of a typical simple mode
   Internet fax system.  Note that TIFF profile S is required to be
   supported by such a system.

      (& (image-file-structure=TIFF-minimal)
         (MRC-mode=0)
         (color=Binary)
         (image-coding=MH) (MRC-mode=0)
         (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
            (& (dpi=200) (dpi-xyratio=[200/100,1]) ) )
         (size-x<=2150/254)
         (paper-size=A4)



Klyne & McIntyre            Standards Track                    [Page 13]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


         (ua-media=stationery) )

4.2 High-end black-and-white Internet fax system

   This would include support for B/W JBIG and be equivalent to what is
   sometimes called "Super G3", except that Internet fax functionality
   would be added.

      (& (image-file-structure=TIFF)
         (MRC-mode=0)
         (color=Binary)
         (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
            (& (dpi=200) (dpi-xyratio=[200/100,1]) )
            (& (dpi=300) (dpi-xyratio=1) ) )
         (| (image-coding=[MH,MR,MMR])
            (& (image-coding=JBIG)
               (image-coding-constraint=JBIG-T85)
               (JBIG-stripe-size=128) ) )
         (size-x<=2150/254)
         (paper-size=[letter,A4,B4]) )
         (ua-media=stationery) )

4.3 Grey-scale Internet fax system

   This is the previous example extended to handle grey scale multi-
   level images.  In keeping with Group 3 fax, this example requires
   equal x- and y- resolutions for a multi-level image.

      (& (image-file-structure=TIFF)
         (MRC-mode=0)
         (| (& (color=Binary)
               (| (image-coding=[MH,MR,MMR])
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T85)
                     (JBIG-stripe-size=128) ) )
               (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
                  (& (dpi=200) (dpi-xyratio=[200/100,1]) )
                  (& (dpi=300) (dpi-xyratio=1) ) )
            (& (color=Grey)
               (color-levels<=256)
               (color-space-CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (| (& (image-coding=JPEG)
                     (image-coding-constraint=JPEG-T4E) )
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T43)



Klyne & McIntyre            Standards Track                    [Page 14]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


                     (JBIG-stripe-size=128)
                     (image-interleave=stripe) ) )
               (dpi=[100,200,300]) (dpi-xyratio=1) ) )
         (size-x<=2150/254)
         (paper-size=[letter,A4,B4]) )
         (ua-media=stationery) )

4.4 Full-color Internet fax system (JPEG only)

   This adds 24-bit full-color to the previous example.

      (& (image-file-structure=TIFF)
         (MRC-mode=0)
         (| (& (color=Binary)
               (image-coding=[MH,MR,MMR])
               (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
                  (& (dpi=200) (dpi-xyratio=[200/100,1]) )
                  (& (dpi=300) (dpi-xyratio=1) ) ) )
            (& (color=grey)
               (image-coding=JPEG)
               (image-coding-constraint=JPEG-T4E)
               (color-levels<=256)
               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (dpi=[100,200,300]) (dpi-xyratio=1) )
            (& (color=full)
               (image-coding=JPEG)
               (image-coding-constraint=JPEG-T4E)
               (color-subsampling=["1:1:1","4:1:1"])
               (color-levels<=16777216)
               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (CIELAB-a-min>=-85)
               (CIELAB-a-max<=85)
               (CIELAB-b-min>=-75)
               (CIELAB-b-max<=125)
               (dpi=[100,200,300]) (dpi-xyratio=1) ) )
         (size-x<=2150/254)
         (paper-size=[letter,A4,B4]) )
         (ua-media=stationery) )







Klyne & McIntyre            Standards Track                    [Page 15]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


4.5 Full-color Internet fax system (JPEG and JBIG)

   This adds limited CMY(K), RGB and 16-bit mapped color using JBIG
   coding to the previous example.

      (& (image-file-structure=TIFF)
         (MRC-mode=0)
         (| (& (color=Binary)
               (| (image-coding=[MH,MR,MMR])
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T85)
                     (JBIG-stripe-size=128) ) )
               (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
                  (& (dpi=200) (dpi-xyratio=[200/100,1]) )
                  (& (dpi=300) (dpi-xyratio=1) ) ) )
            (& (color=Limited)
               (image-coding=JBIG)
               (image-coding-constraint=JBIG-T43)
               (JBIG-stripe-size=128)
               (image-interleave=stripe)
               (| (& (color-space=[Device-RGB,Device-CMY])
                     (color-levels<=8) )
                  (& (color-space=Device-CMYK)
                     (color-levels<=16) ) )
               (dpi=[100,200,300]) (dpi-xyratio=1) )
            (& (color=Mapped)
               (image-coding=JBIG)
               (image-coding-constraint=JBIG-T43)
               (JBIG-stripe-size=128)
               (image-interleave=stripe)
               (color-levels<=65536)
               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (CIELAB-a-min>=-85)
               (CIELAB-a-max<=85)
               (CIELAB-b-min>=-75)
               (CIELAB-b-max<=125)
               (dpi=[100,200,300]) (dpi-xyratio=1) )
            (& (color=grey)
               (| (& (image-coding=JPEG)
                     (image-coding-constraint=JPEG-T4E) )
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T43)
                     (JBIG-stripe-size=128)
                     (image-interleave=stripe) ) )
               (color-levels<=256)



Klyne & McIntyre            Standards Track                    [Page 16]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (dpi=[100,200,300]) (dpi-xyratio=1) )
            (& (color=full)
               (| (& (image-coding=JPEG)
                     (image-coding-constraint=JPEG-T4E)
                     (color-subsampling=["1:1:1","4:1:1"]) )
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T43)
                     (JBIG-stripe-size=128)
                     (image-interleave=stripe) ) )
               (color-levels<=16777216)
               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (CIELAB-a-min>=-85)
               (CIELAB-a-max<=85)
               (CIELAB-b-min>=-75)
               (CIELAB-b-max<=125)
               (dpi=[100,200,300]) (dpi-xyratio=1) ) )
         (size-x<=2150/254)
         (paper-size=[letter,A4,B4]) )
         (ua-media=stationery) )

4.6 Full-color Internet fax system (MRC)

   This adds MRC image structures to the previous example.

      (& (image-file-structure=TIFF-MRC)
         (MRC-mode<=1) (MRC-max-stripe-size>=0)
         (| (& (color=binary)
               (| (image-coding=[MH,MR,MMR])
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T85)
                     (JBIG-stripe-size=128) ) )
               (| (& (dpi=204) (dpi-xyratio=[204/98,204/196]) )
                  (& (dpi=200) (dpi-xyratio=[200/100,1]) )
                  (& (dpi=[300,400]) (dpi-xyratio=1) ) ) )
            (& (color=limited)
               (| (& (color-space=[Device-RGB,Device-CMY])
                     (color-levels<=8) ) )
               (| (& (color-space=Device-CMYK)
                     (color-levels<=16) ) )
               (image-coding=JBIG)
               (image-coding-constraint=JBIG-T43)



Klyne & McIntyre            Standards Track                    [Page 17]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


               (JBIG-stripe-size=128)
               (image-interleave=stripe)
               (dpi=[100,200,300,400]) (dpi-xyratio=1) )
            (& (color=mapped)
               (color-levels<=65536)
               (image-coding=JBIG)
               (image-coding-constraint=JBIG-T43)
               (JBIG-stripe-size=128)
               (image-interleave=stripe)
               (color-space=CIELAB)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (CIELAB-a-min>=-85)
               (CIELAB-a-max<=85)
               (CIELAB-b-min>=-75)
               (CIELAB-b-max<=125) ) )
               (color-illuminant=D50)
               (dpi=[100,200,300,400]) (dpi-xyratio=1) )
            (& (color=grey)
               (| (& (image-coding=JPEG)
                     (image-coding-constraint=JPEG-T4E) )
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T43)
                     (JBIG-stripe-size=128)
                     (image-interleave=stripe) ) )
               (color-space=CIELAB)
               (color-levels<=256)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (dpi=[100,200,300,400]) (dpi-xyratio=1) )
            (& (color=full)
               (| (& (image-coding=JPEG)
                     (image-coding-constraint=JPEG-T4E)
                     (color-subsampling=["1:1:1","4:1:1"]) )
                  (& (image-coding=JBIG)
                     (image-coding-constraint=JBIG-T43)
                     (JBIG-stripe-size=128)
                     (image-interleave=stripe) ) )
               (color-levels<=16777216)
               (color-space=CIELAB)
               (color-illuminant=D50)
               (CIELAB-L-min>=0)
               (CIELAB-L-max<=100)
               (CIELAB-a-min>=-85)
               (CIELAB-a-max<=85)
               (CIELAB-b-min>=-75)
               (CIELAB-b-max<=125)



Klyne & McIntyre            Standards Track                    [Page 18]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


               (dpi=[100,200,300,400]) (dpi-xyratio=1) ) )
         (size-x<=2550/254)
         (Paper-size=[Letter,A4,B4])
         (ua-media=stationery) )

4.7 Sender and receiver feature matching

   This example considers sending a document to an enhanced black-and-
   white fax system with the following receiver capabilities:

      (& (| (& (dpi=200) (dpi-xyatio=200/100) )
            (& (dpi=200) (dpi-xyratio=1) )
            (& (dpi=300) (dpi-xyratio=1) )
            (& (dpi=400) (dpi-xyratio=1) ) )
         (color=Binary)
         (| (& (paper-size=A4) (ua-media=[stationery,transparency]) )
            (& (paper-size=B4) (ua-media=continuous) ) )
         (image-coding=[MH,MR,JBIG]) )

   Turning to the document itself, assume it is available to the sender
   in three possible formats, A4 high resolution, B4 low resolution and
   A4 high resolution color, described by:

      (& (dpi=300) (dpi-xyratio=1)
         (color=Binary)
         (paper-size=A4)
         (image-coding=[MMR,JBIG]) )

      (& (dpi=200) (dpi-xyratio=200/100)
         (color=Binary)
         (paper-size=B4)
         (image-coding=[MH,MR]) )

      (& (dpi=300) (dpi-xyratio=1)
         (color=Mapped) (color-levels<=256)
         (paper-size=A4)
         (image-coding=JPEG) )

   These three image formats can be combined into a composite capability
   statement by a logical-OR operation (to describe format-1 OR format-2
   OR format-3):

      (| (& (dpi=300) (dpi-xyratio=1)
            (color=Binary)
            (paper-size=A4)
            (image-coding=[MMR,JBIG]) )
         (& (dpi=200) (dpi-xyratio=200/100)
            (color=Binary)



Klyne & McIntyre            Standards Track                    [Page 19]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


            (paper-size=B4)
            (image-coding=[MH,MR]) )
         (& (dpi=300) (dpi-xyratio=1)
            (color=Mapped) (color-levels=42)
            (paper-size=A4)
            (image-coding=JPEG) ) )

   This could be simplified, but there is little gain in doing so at
   this point.

   The composite document description can be matched with the receiver
   capability description, according to the rules in [2], to yield the
   result:

      (| (& (dpi=300) (dpi-xyratio=1)
            (color=Binary)
            (paper-size=A4)
            (ua-media=[stationery,transparency])
            (image-coding=JBIG) )
         (& (dpi=200) (dpi-xyratio=200/100)
            (color=Binary)
            (paper-size=B4)
            (ua-media=continuous)
            (image-coding=[MH,MR]) ) )

   Points to note about the feature matching process:

   o  The color document option is eliminated because the receiver
      cannot handle either color (indicated by '(color=Mapped)') or
      JPEG coding (indicated by '(image-coding=JPEG)').

   o  The high resolution version of the document with '(dpi=300)' must
      be send using '(image-coding=JBIG)' because this is the only
      available coding of the image data that the receiver can use for
      high resolution documents.  (The available 300dpi document
      codings here are MMR and JBIG, and the receiver capabilities are
      MH, MR and JBIG.)

   o  The low-resolution version of the document can be sent with
      either MH or MR coding as the receiver can deal with either of
      these for low resolution documents.

   o  The high resolution variant of the document is available only for
      A4, so that is the paper-size used in that case.  Similarly the
      low resolution version is sent for B4 paper.

   o  Even though the sender may not understand the 'ua-media' feature
      tag, and does not mention it, the matching rules preserve the



Klyne & McIntyre            Standards Track                    [Page 20]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


      constraint that the B4 document is rendered with
     '(ua-media=continuous)', and the A4 document may be rendered with
     '(ua-media=[stationery,transparency])'.

   Finally, note that when matching an MRC document description, the
   description of each component sub-image must match the capabilities
   of the intended receiver.

5. IANA Considerations

   Appendix A of this document repeats the descriptions of feature tags
   introduced by RFC 2531 [22], with some small revisions.  These have
   been registered in the "IETF tree", according to the procedure
   described in section 3.1.1 of "Media Feature Tag Registration
   Procedure" [1] (i.e. these feature tags are subject to the "IETF
   Consensus" policies described in RFC 2434 [21]).

   Appendix section A.5 introduces one new feature tag (color-
   illuminant) to be registered according to the same procedure.  An
   ASN.1 identifier should be assigned for this new tag and replaced in
   the body of the registration.

6. Security Considerations

   The points raised below are in addition to the general security
   considerations for extended Internet fax [5], and others discussed in
   [2,8,11,12,13]

6.1 Capability descriptions and mechanisms

   Negotiation mechanisms reveal information about one party to other
   parties.  This may raise privacy concerns, and may allow a malicious
   party to make better guesses about the presence of specific security
   holes.

   Most of these concerns pertain to capability information getting into
   the hands of someone who may abuse it.  This document specifies
   capabilities that help a sender to determine what image
   characteristics can be processed by the recipient, not mechanisms for
   their publication.  Implementers and users should take care that the
   mechanisms employed ensure that capabilities are revealed only to
   appropriate persons, systems and agents.

6.2 Specific threats

   1. Unsolicited bulk mail:  if it is known that a recipient can
      process certain types of images, they may be targeted by bulk
      mailers that want to send such images.



Klyne & McIntyre            Standards Track                    [Page 21]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


7. Acknowledgements

   The authors gratefully acknowledge the contributions of the following
   persons who commented on earlier versions of this memo:  James
   Rafferty, Dan Wing, Robert Buckley, Mr Ryuji Iwazaki.  The following
   contributed ideas upon which some of the features described here have
   been based:  Larry Masinter, Al Gilman, Koen Holtman.

8. References

   [1]  Holtman, K., Mutz, A. and T. Hardie, "Media Feature Tag
        Registration Procedure", RFC 2506, March 1999.

   [2]  Klyne, G., "A syntax for describing media feature sets", RFC
        2533, March 1999.

   [3]  Masinter, L., Holtman, K., Mutz, A. and D. Wing, "Media Features
        for Display, Print, and Fax", RFC 2534, March 1999.

   [4]  McIntyre, L. and G. Klyne, "Internet Fax T.30 Feature Mapping",
        RFC 2880, July 2000.

   [5]  Masinter, L. and D. Wing, RFC 2532, "Extended Facsimile Using
        Internet Mail", RFC 2532, March 1999.

   [6]  "Procedures for document facsimile transmission in the general
        switched telephone network", ITU-T Recommendation T.30 (1999),
        International Telecommunications Union, March 1999

   [7]  McIntyre, L., Buckley, R., Venable, D., Zilles, S., Parsons, G.
        and J. Rafferty, "File format for Internet fax", RFC 2301, March
        1998.

   [8]  Toyoda, K., Ohno, H., Murai, J. and D. Wing, "A Simple Mode of
        Facsimile Using Internet Mail", RFC 2305, March 1998.

   [9]  "Continuous-tone color representation method for facsimile"
        ITU-T Recommendation T.42 (1996) International
        Telecommunications Union (Covers custom illuminant, gamut)

   [10] "Colour and gray-scale image representation using lossless
        coding scheme for facsimile" ITU-T Recommendation T.43 (1997)
        International Telecommunications Union.  (Covers JBIG for
        colour/grey images)

   [12] Klyne, G., "Protocol-independent Content Negotiation Framework",
        RFC 2703, September 1999.




Klyne & McIntyre            Standards Track                    [Page 22]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   [13] "Standardization of Group 3 facsimile terminals for document
        transmission", ITU-T Recommendation T.4 (1999), International
        Telecommunications Union, (Covers basic fax coding formats: MH,
        MR)

   [14] "Facsimile coding schemes and coding control functions for Group
        4 facsimile apparatus", ITU Recommendation T.6, International
        Telecommunications Union,  (Commonly referred to as the MMR
        standard; covers extended 2-D fax coding format).

   [15] "Mixed Raster Content (MRC)", ITU-T Recommendation T.44,
        International Telecommunications Union.

   [16] "Information technology - Digital compression and coding of
        continuous-tone still image - Requirements and guidelines" ITU-T
        Recommendation T.81 (1992) | ISO/IEC 10918-1:1993 International
        Telecommunications Union, (Commonly referred to as JPEG
        standard)

   [17] "Information technology - Coded representation of picture and
        audio information - Progressive bi-level image compression"
        ITU-T Recommendation T.82 (1993) | ISO/IEC 11544:1993
        International Telecommunications Union (Commonly referred to as
        JBIG1 standard)

   [18] "Application profile for Recommendation T.82 - Progressive bi-
        level image compression (JBIG1 coding scheme for facsimile
        apparatus)", ITU-T Recommendation T.85 (1995),International
        Telecommunications Union, (Covers bi-level JBIG).

   [19] "Colorimeter, 2nd ed.", CIE Publication No. 15.2, 1986. (Defines
        CIELAB color space;  use with fax is further constrained by T.42
        [9].)

   [20] Tag Image File Format, Revision 6.0 Adobe Developers Association
        <ftp://ftp.adobe.com/pub/adobe/devrelations/devtechnotes/pdffiles
        /tiff6.pdf> June 1992

   [21] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA
        Considerations Section in RFCs", BCP 26, RFC 2434, October 1998.

   [22] Klyne, G. and L. McIntyre, "Content feature schema for Internet
        fax", RFC 2531, March 1999.








Klyne & McIntyre            Standards Track                    [Page 23]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


9. Authors' Addresses

   Graham Klyne
   Content Technologies Ltd.
   1220 Parkview,
   Arlington Business Park
   Theale
   Reading, RG7 4SA
   United Kingdom.

   Phone: +44 118 930 1300
   Fax:   +44 118 930 1301
   EMail: GK@ACM.ORG


   Lloyd McIntyre
   Xerox Corporation
   Mailstop PAHV-121
   3400 Hillview Ave.
   Palo Alto, CA 94304 USA

   Phone: +1-650-813-6762
   Fax:   +1-650-845-2340
   EMail: Lloyd.McIntyre@pahv.xerox.com



























Klyne & McIntyre            Standards Track                    [Page 24]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


Appendix A: Feature registrations

A.1 Image size

   -  Media Feature tag name(s):

        size-x
        size-y

   -  ASN.1 identifiers associated with these feature tags:

        size-x:      1.3.6.1.8.1.7
        size-y:      1.3.6.1.8.1.8

   -  Summary of the media features indicated:

        These feature tags indicate the size of a displayed, printed
        or otherwise rendered document image;  they indicate
        horizontal (size-x) and vertical (size-y) dimensions.

        The unit of measure is inches (to be consistent with the
        measure of resolution defined by the feature tag 'dpi').

        Where the actual size is available in millimetres, a
        conversion factor of 10/254 may be applied to yield an exact
        inch-based value.

   -  Values appropriate for use with these feature tags:

        Rational (>0)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Print and display applications where different media choices
        will be made depending on the size of the recipient device.

   -  Examples of typical use:

        This example describes the maximum scanned image width and
        height for Group 3 fax: 215x297 mm (8.46x11.69 inches):

        (size-x<=2150/254)
        (size-y<=2970/254)







Klyne & McIntyre            Standards Track                    [Page 25]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Related standards or documents:

        The memo "Media Features for Display, Print, and Fax" [3]
        describes features (pix-x, pix-y) for measuring document size
        in pixels.

        Fax applications should declare physical dimensions using the
        features defined here.

   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:

        Where no physical size is known or available, but a pixel size
        is known, a notional size should be declared based upon known
        pixel dimensions and a notional resolution of (say) 100dpi

        For example, to describe a 640x480 pixel display:

           (& (size-x<=640/100) (size-y<=480/100) (dpi=100) )

        The notional 100dpi resolution is used as it represents a
        fairly typical resolution for a pixel-limited display.
        Reducing the rational numbers to canonical form gives the
        following equivalent expression:

           (& (size-x<=32/5) (size-y<=24/5) (dpi=100) )

   -  Interoperability considerations:

        For interoperability with other (non-fax) applications that
        use only pixel-based measurements, pixel dimensions (pix-x,
        pix-y) may be declared in addition to physical measurements.

   -  Related feature tags:

        pix-x                 [3]
        pix-y                 [3]
        dpi                   [3]
        dpi-xyratio           [this document]

   -  Intended usage:

        Common








Klyne & McIntyre            Standards Track                    [Page 26]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Author/Change controller:

        IETF

A.2 Resolution aspect ratio

   -  Media Feature tag name(s):

        dpi-xyratio

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.9

   -  Summary of the media features indicated:

        This feature is used to indicate differential horizontal and
        vertical resolution capability.  In the absence of this
        feature, horizontal and vertical resolutions are presumed to
        be the same.

        When this feature tag is specified, any declared resolution
        (dpi) is presumed to apply to the horizontal axis, and the
        vertical resolution is obtained by dividing that declared
        resolution by the resolution ratio.

        The value of this feature is a pure number, since it
        represents the ratio of two resolution values.

   -  Values appropriate for use with this feature tag:

        Rational (>0)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other print or display applications that
        must handle differential horizontal and vertical resolution
        values.

   -  Examples of typical use:

        The following example describes a fax resolution of 204 dpi
        horizontally by 391 dpi vertically:

        (& (dpi=204) (dpi-xyratio=204/391) )





Klyne & McIntyre            Standards Track                    [Page 27]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Related standards or documents:

        The memo "Media Features for Display, Print, and Fax" [3]
        describes a feature (dpi) for measuring document resolution.

   -  Interoperability considerations:

        When interoperating with an application that does not
        recognize the differential resolution feature, resolution
        matching may be performed on the basis of the horizontal
        resolution only, so aspect ratio information may be lost.

   -  Related feature tags:

        dpi                   [3]
        size-x                [this document]
        size-y                [this document]

   -  Intended usage:

        Internet fax

   -  Author/Change controller:

        IETF

A.3 Color levels

   -  Media Feature tag name(s):

        color-levels

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.10

   -  Summary of the media features indicated:

        This feature tag is used to indicate a number of different
        image data pixel color values.

        When mapped (palletized) color is used, this is generally
        different from the number of different colors that can be
        represented through the color mapping function.

        This feature tag is used in conjunction with a 'color' feature
        having a value other than 'Binary'.




Klyne & McIntyre            Standards Track                    [Page 28]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Values appropriate for use with this feature tag:

        Integer  (>=2)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Color image printing or display applications where the data
        resource used may depend upon color handling capabilities of
        the recipient.

   -  Examples of typical use:

        To describe recipient capabilities:
        (& (color=limited) (color-levels<=6) )
        (& (color=grey)    (color-levels<=64) )
        (& (color=mapped)  (color-levels<=240) )
        (& (color=full)    (color-levels<=16777216) )

        To describe capabilities used by a document:
        (& (color=limited) (color-levels=4) )
        (& (color=grey)    (color-levels=48) )
        (& (color=mapped)  (color-levels=100) )
        (& (color=full)    (color-levels=32768) )

   -  Related standards or documents:

        The memo "Media Features for Display, Print, and Fax" [3]
        describes a feature (color) for indicating basic color
        capabilities.

   -  Interoperability considerations:

        The actual number of color values used by a document does not,
        in general, exactly match the number that can be handled by a
        recipient.  To achieve a feature match, at least one must be
        declared as an inequality (i.e. not both as equalities).

        It is recommended that a recipient declares the number of
        color values that it can handle as an inequality (<=), and a
        data resource declares the number of colors that it uses with
        an equality, as shown in the examples above.









Klyne & McIntyre            Standards Track                    [Page 29]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Security considerations:

      - Privacy concerns, related to exposure of personal information:
           Where feature matching is used to select content applicable
           to the physical abilities of a user, unusual values for this
           feature tag might give an indication of a user's restricted
           abilities.

   -  Related feature tags:

        color                 [3]
        color-space           [this document]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.4 Color space

   -  Media Feature tag name(s):

        color-space

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.11

   -  Summary of the media features indicated:

        This feature indicates a color space.

        A color space value provides two types of information:
        o  the color model used to represent a color value, including
           the number of color components
        o  a mapping between color values and their physical
           realizations

        Device color space values are defined for applications where
        the general color representation used is significant, but
        exact color rendering is left to the device used.  Device
        color spaces defined here have values of the form 'Device-
        xxx'.




Klyne & McIntyre            Standards Track                    [Page 30]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        Calibrated color space values are provided for use with a
        rendering system that is calibrated with respect to some
        indicated definition, and capable of processing device-
        independent color information accordingly.

   -  Values appropriate for use with this feature tag:

        Token

        Device color      Device-RGB   (device dependent RGB)
        spaces:           Device-CMY   (device dependent CMY)
                          Device-CMYK  (device dependent CMYK)

        Calibrated color  CIELAB       (per T.42 [9])
        space:

                          (may be extended by further registrations)

        'Color-space=CIELAB' indicates the CIE L*a*b* colour space,
        using CIED50 illuminant and its perfectly diffuse reflecting
        white point (per T.42 [9]).

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Color image printing and display applications where the data
        resource used may depend upon color handling capabilities of
        the recipient.

        Scanning applications where the data transferred may depend
        upon the image generation capabilities of the originator.

   -  Examples of typical use:

        To describe rendering or scanning capabilities:

        (color-space=[Device-RGB,CIELAB])

        To describe capabilities assumed by a document for which
        approximate color reproduction is required:

        (color-space=Device-RGB)

        To describe capabilities assumed by a document for which exact
        color reproduction is required:

        (color-space=CIELAB)




Klyne & McIntyre            Standards Track                    [Page 31]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Related standards or documents:

        CIELAB color space is defined in [19]

        CIELAB use for fax is described in ITU T.42 [9]

   -  Interoperability considerations:

        A color-handling receiver should indicate any appropriate
        device color space capability, in addition to any calibrated
        color spaces that it may support.

        Calibrated color spaces are intended to be used when precise
        color matching is required;  otherwise, if applicable, a
        device color space (color-space=Device-xxx) should be
        indicated.

        Documents for which exact color matching is not important
        should indicate a device color space capability, if
        applicable.

        These principles allow sender/receiver feature matching to be
        achieved when exact color matching is not required.

   -  Security considerations:

      - Privacy concerns, related to exposure of personal information:
           Where feature matching is used to select content applicable
           to the physical abilities of a user, unusual values for this
           feature tag might give an indication of a user's restricted
           abilities.

      - Denial of service concerns related to consequences of
        specifying incorrect values:
           Failure to indicate a generic color space capability for a
           device may lead to failure to match color space for an
           application or document that does not require an exact color
           match.

   -  Related feature tags:

        color                 [3]

   -  Related media types or data formats:

        TIFF-FX               [7]





Klyne & McIntyre            Standards Track                    [Page 32]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.5 CIELAB color illuminant

   -  Media Feature tag name(s):

        color-illuminant

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.29

   -  Summary of the media features indicated:

        This feature indicates a color illuminant.  This has the
        effect of modifying the color space calibration to reflect the
        use of different sources of illumination.

        A color-illuminant value would normally be used only with a
        calibrated color space.

   -  Values appropriate for use with this feature tag:

        Token

        CIELAB illuminant D50
        values:           D65
                          D75
                          SA
                          SC
                          F2
                          F7
                          F11

        Defined by color  CTnnnn where 'nnnn' is a decimal
        temperature:             representation of the illuminant
                                 color temperature in Kelvins.

                      (may be extended by further registrations)





Klyne & McIntyre            Standards Track                    [Page 33]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        NOTE:  The default color illuminant for Group 3 fax is D50.

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Color image printing and display applications where the data
        resource used may depend upon detailed color handling
        capabilities of the recipient.

        Scanning applications where the data transferred may depend
        upon the image generation capabilities of the originator.

   -  Examples of typical use:

        To describe rendering or scanning capabilities, or to describe
        capabilities assumed by a document for which exact color
        handling capabilities are required:

        (& (color-space=CIELAB) (color-illuminant=D50) )

   -  Related standards or documents:

        CIELAB color illuminant representations are described in ITU
        T.4 [13], Annex E.6.7.

   -  Interoperability considerations:

        A color-handling receiver that supports a calibrated color
        space should indicate any constraint on the illuminants it can
        handle.

        In the absence of a color-illuminant constraint, a receiver is
        presumed to accept and deal with any specified illuminant
        value.

   -  Related feature tags:

        color                 [3]
        color-space           [this document]

   -  Related media types or data formats:

        TIFF-FX               [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications



Klyne & McIntyre            Standards Track                    [Page 34]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Author/Change controller:

        IETF

A.6 CIELAB color depth

   -  Media Feature tag name(s):

        CIELAB-L-depth
        CIELAB-a-depth
        CIELAB-b-depth

   -  ASN.1 identifiers associated with these feature tags:

        CIELAB-L-depth:   1.3.6.1.8.1.12
        CIELAB-a-depth:   1.3.6.1.8.1.13
        CIELAB-b-depth:   1.3.6.1.8.1.14

   -  Summary of the media features indicated:

        These feature tags indicate a color depth capability;  i.e.
        the level of detail to which an individual CIELAB color
        component can be specified.  They define the number of
        distinct values possible for each of the color components L*,
        a* and b*.

        Typically, this feature would be used with 'color=mapped', and
        possibly 'color=grey' or 'color=full', to indicate the number
        of distinct colors that can be represented.

           NOTE:  this feature tag describes the number of values that
           can be represented for a color component, and does not
           necessarily indicate the number of distinct values that can
           be rendered or resolved by a system.

   -  Values appropriate for use with these feature tags:

        Integer (>0)

   -  These feature tags are intended primarily for use in the
      following applications, protocols, services, or negotiation
      mechanisms:

        Color image printing and display applications where the data
        resource used may depend upon color handling capabilities of
        the recipient.





Klyne & McIntyre            Standards Track                    [Page 35]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        Scanning applications where the data transferred may depend
        upon the image generation capabilities of the originator.

   -  Examples of typical use:

        To describe rendering or scanning capabilities:

        (& (color=mapped) (color-levels<=240)
           (CIELAB-L-depth<=128)
           (CIELAB-a-depth<=128)
           (CIELAB-b-depth<=128) )
        (& (color=full) (color-levels<=16777216)
           (CIELAB-L-depth<=256)
           (CIELAB-a-depth<=128)
           (CIELAB-b-depth<=128) )

        To describe capabilities assumed by a document:

        (& (color=mapped) (color-levels=200)
           (CIELAB-L-depth=32)
           (CIELAB-a-depth=32)
           (CIELAB-b-depth=32) )
        (& (color=full) (color-levels=32768)
           (CIELAB-L-depth=128)
           (CIELAB-a-depth=32)
           (CIELAB-b-depth=32) )

   -  Related standards or documents:

        The memo "Media Features for Display, Print, and Fax" [3]
        defines a feature (color) for indicating basic color
        capabilities.
        CIELAB color space is defined in [19]

        CIELAB use for fax is described in ITU T.42 [9]

   -  Related feature tags:

        color                 [3]
        color-levels          [this document]
        color-space           [this document]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications





Klyne & McIntyre            Standards Track                    [Page 36]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Author/Change controller:

        IETF

A.7 CIELAB color gamut

   -  Media Feature tag name(s):

        CIELAB-L-min
        CIELAB-L-max
        CIELAB-a-min
        CIELAB-a-max
        CIELAB-b-min
        CIELAB-b-max

   -  ASN.1 identifiers associated with these feature tags:

        CIELAB-L-min:     1.3.6.1.8.1.15
        CIELAB-L-max:     1.3.6.1.8.1.16
        CIELAB-a-min:     1.3.6.1.8.1.17
        CIELAB-a-max:     1.3.6.1.8.1.18
        CIELAB-b-min:     1.3.6.1.8.1.19
        CIELAB-b-max:     1.3.6.1.8.1.20

   -  Summary of the media features indicated:

        These feature indicate a supported range of color values, by
        indicating minimum and maximum values used for each color
        component in a CIELAB color space.

        'CIELAB-L-min' and 'CIELAB-L-max' are the minimum and maximum
        values of the L* component.

        'CIELAB-a-min' and 'CIELAB-a-max' are the minimum and maximum
        values of the a* component.

        'CIELAB-b-min' and 'CIELAB-b-max' are the minimum and maximum
        values of the b* component.

           NOTE:  color component values are assumed to be rational
           numbers, so a limited gamut does not necessarily indicate
           limited color resolution.

   -  Values appropriate for use with this feature tag:

        Rational





Klyne & McIntyre            Standards Track                    [Page 37]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Color image printing and display applications where the data
        resource used may depend upon detailed color handling
        capabilities of the recipient.

        Scanning applications where the data transferred may depend
        upon the detailed color image generation capabilities of the
        originator.

   -  Examples of typical use:

        To describe rendering or scanning capabilities:

        (& (CIELAB-L-min>=0)
           (CIELAB-L-max<=100)
           (CIELAB-a-min>=-75)
           (CIELAB-a-max<=+75)
           (CIELAB-b-min>=-85)
           (CIELAB-b-max<=+85) )

        To describe capabilities required by a document:

        (& (CIELAB-L-min=20)
           (CIELAB-L-max=80)
           (CIELAB-a-min=-35)
           (CIELAB-a-max=+55)
           (CIELAB-b-min=-45)
           (CIELAB-b-max=+65) )

   -  Related standards or documents:

        CIELAB color space is defined in [19]

        CIELAB use for fax is described in ITU T.42 [9]

   -  Interoperability considerations:

        When describing a recipient's capabilities, the minimum and
        maximum color component values that can be rendered should be
        indicated by inequalities as shown in the examples above.

        When describing a document, the actual minimum and maximum
        color component values used should be indicated, as shown
        above.





Klyne & McIntyre            Standards Track                    [Page 38]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Security considerations:

      - Privacy concerns, related to exposure of personal information:
           Where feature matching is used to select content applicable
           to the physical abilities of a user, unusual values for this
           feature tag might give an indication of a user's restricted
           abilities.

   -  Related feature tags:

        color                 [3]
        color-space           [this document]

   -  Related media types or data formats:

        TIFF-FX               [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.8 Image file structure

   -  Media Feature tag name(s):

        image-file-structure

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.21

   -  Summary of the media features indicated:

        This feature indicates a file structure used for transfer and
        presentation of image data.

        It does not indicate image data coding:  that is described by
        separate feature tags (image-coding, etc.).








Klyne & McIntyre            Standards Track                    [Page 39]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Values appropriate for use with this feature tag:

        Token

        Image file        TIFF
        structure         TIFF-limited
        options:          TIFF-minimal
                          TIFF-MRC
                          TIFF-MRC-limited

                          (may be extended by further registrations,
                          to cover non-TIFF image file structures)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other print or display applications that
        transfer image data.

   -  Examples of typical use:

        See Appendix B of this memo.

   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:

        This tag is intended to provide information about an image
        file structure.  Information about image data coding is
        provided by other tags.

        The following tag values are defined here:

        o  'TIFF' indicates image data enclosed and tagged using TIFF
           structures described in Adobe's definition of TIFF [20].

        o  'TIFF-limited' indicates image data structured using TIFF,
           but with limitations on the placement of Image File
           Descriptors (IFDs) within the file, which are indicated in
           section 4.4.6 of RFC 2301 [7].

        o  'TIFF-minimal' indicates a TIFF image format that meets the
           IFD placement, byte ordering and bit ordering requirements
           of the "minimal black and white mode" described in section
           3.5 of RFC 2301 [7], also known as TIFF-S.







Klyne & McIntyre            Standards Track                    [Page 40]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        o  'TIFF-MRC' uses a TIFF image structure [20] augmented with a
           sub-IFD structure, described for the "Mixed Raster Content
           mode" in section 8.1.2 of RFC 2301 [7], also known as TIFF-M
           (see also tag 'MRC-mode').

        o  'TIFF-MRC-limited' is the same as 'TIFF-MRC', except that
           the IFD placement is constrained as for 'TIFF-limited'.

        Registration of additional image file structure tags should
        focus similarly on image file structure issues, not raw image
        data compression and coding.  As a guide, an image file
        structure may contain image data coded in a variety of ways,
        and carries information to describe that coding separately
        from MIME content-type labelling, etc.

   -  Related feature tags:

        image-coding          [this document]
        MRC-mode              [this document]

   -  Related media types or data formats:

        TIFF-FX               [7]
        TIFF V6.0 (Adobe)     [20]

   -  Intended usage:

        Internet fax
        Image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.9 Image data coding

   -  Media Feature tag name(s):

        image-coding

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.22

   -  Summary of the media features indicated:

        This feature tag indicates a form of image data compression
        and coding used.



Klyne & McIntyre            Standards Track                    [Page 41]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        It identifies a generic image coding technique used, without
        regard to any specific profiling of that technique that may be
        applied.  Values for this feature are generally applicable
        across a wide range of image transfer applications.

        This information is distinct from the image file structure and
        MRC information conveyed by the 'image-file-structure' tags.

   -  Values appropriate for use with this feature tag:

        Token             MH
                          MR
                          MMR
                          JBIG
                          JPEG

                          (may be extended by further registrations)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.

   -  Examples of typical use:

        See Appendix B of this memo.

   -  Related standards or documents:

        MH, MR:     ITU T.4 [13]
        MMR:        ITU T.6 [14]
        JPEG:       ITU T.81 [16]
        JBIG:       ITU T.82 [17]

   -  Interoperability considerations:

        To establish the correct conditions for interoperability
        between systems, capabilities to handle the generic image
        coding technique and the specific image coding constraints
        must be established.

   -  Related feature tags:

        image-coding-constraint  [this document]
        JBIG-stripe-size         [this document]
        image-interleave         [this document]





Klyne & McIntyre            Standards Track                    [Page 42]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Related media types or data formats:

        TIFF-FX                  [7]

   -  Intended usage:

        Internet fax
        Image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.10 Image coding constraint

   -  Media Feature tag name(s):

        image-coding-constraint

   -  ASN.1 identifier associated with these feature tags:

        1.3.6.1.8.1.23

   -  Summary of the media features indicated:

        This feature tag qualifies the 'image-coding' feature with a
        specific profile or usage constraints.

        Values for this feature are generally specific to some given
        value of 'image-coding' and also to some restricted
        application or class of applications.

   -  Values appropriate for use with this feature tag:

        Token             JBIG-T85    (bi-level, per ITU T.85)
                          JBIG-T43    (multi-level, per ITU T.43)
                          JPEG-T4E    (per ITU T.4, Annex E)

                          (may be extended by further registrations)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.

        The specific values for this feature indicated above are
        intended for use with Internet fax.




Klyne & McIntyre            Standards Track                    [Page 43]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Examples of typical use:

        See Appendix B of this memo.

   -  Related standards or documents:

        JBIG-T85:   ITU T.85 [18]
        JBIG-T43:   ITU T.43 [10]
        JPEG-T4E:   ITU T.4 Annex E [13]

   -  Interoperability considerations:

        To establish the correct conditions for interoperability
        between systems, capabilities to handle the generic image
        coding technique and the specific image coding constraints
        must be established.

   -  Related feature tags:

        image-coding             [this document]
        JBIG-stripe-size         [this document]
        image-interleave         [this document]

   -  Related media types or data formats:

        TIFF-FX                  [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.11 JBIG stripe size

   -  Media Feature tag name(s):

        JBIG-stripe-size

   -  ASN.1 identifier associated with these feature tags:

        1.3.6.1.8.1.24






Klyne & McIntyre            Standards Track                    [Page 44]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Summary of the media features indicated:

        This feature is a specific usage constraint that is applied to
        JBIG image coding (image-coding=JBIG), and indicates the
        allowable size for each stripe of an image, except the last.

        A stripe of a JBIG image is a delimited horizontal band of
        compressed image data that can be decompressed separately from
        the surrounding data.

   -  Values appropriate for use with this feature tag:

        Integer  (>0)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.

   -  Examples of typical use:

        (JBIG-stripe-size=128)
        (JBIG-stripe-size>0)

   -  Related standards or documents:

        JBIG:       ITU T.82 [17]
        JBIG-T85:   ITU T.85 [18]
        JBIG-T43:   ITU T.43 [10]

   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:

        In the case of Internet fax, the specific constraints allowed
        for a receiver are those given as examples above.

        Specifying a stripe size that is not limited (JBIG-stripe-
        size>0) means that an entire page of image data is encoded as
        a single unit.  This may place considerable demands on the
        memory of a receiving system, as the entire stripe needs to be
        buffered in memory.

   -  Interoperability considerations:

        To establish the correct conditions for interoperability
        between systems, capabilities to handle the generic image
        coding technique and the specific image coding constraints
        must be established.



Klyne & McIntyre            Standards Track                    [Page 45]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Related feature tags:

        image-coding             [this document]
        image-coding-constraint  [this document]
        image-interleave         [this document]

   -  Related media types or data formats:

        TIFF-FX                  [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.12 Image interleave

   -  Media Feature tag name(s):

        image-interleave

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.25

   -  Summary of the media features indicated:

        This feature indicates an image interleave capability.

        It may be used with JBIG images (image-coding=JBIG) to
        indicate color plane interleaving of either stripes or entire
        image planes.

   -  Values appropriate for use with this feature tag:

        Token             Stripe
                          Plane

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.





Klyne & McIntyre            Standards Track                    [Page 46]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Examples of typical use:

        (image-interleave=stripe)
        (image-interleave=[stripe,plane])

   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:

        Specifying a plane interleave means that an entire page of
        image data must be buffered in order to generate or render the
        image.  This may place considerable demands on the memory of a
        sending or receiving system.

   -  Related feature tags:

        image-coding             [this document]
        JBIG-stripe-size         [this document]

   -  Related media types or data formats:

        TIFF-FX                  [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.13 Color subsampling

   -  Media Feature tag name(s):

        color-subsampling

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.26

   -  Summary of the media features indicated:

        This feature tag indicates whether color information may be
        subsampled with respect to luminance data.






Klyne & McIntyre            Standards Track                    [Page 47]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


        It is used with continuous color images (color=full), color
        spaces that use separate luminance and color components
        (e.g. color-space=LAB), and image file structures that support
        color subsampling.

   -  Values appropriate for use with this feature tag:

        String            "1:1:1"
                          This value indicates a full set of color
                          component samples for each luminance
                          component sample.

                          "4:1:1"
                          This value indicates one set of color component
                          samples for each 4 luminance samples.

                          (may be extended by further registrations)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Color image printing and display applications where the data
        resource used may depend upon color handling capabilities of
        the recipient.

        Scanning applications where the data transferred may depend
        upon the image generation capabilities of the originator.

   -  Examples of typical use:

        (& (color=full) (color-space=[LAB,CIELAB])
           (color-subsampling=["1:1:1","4:1:1"]) )

   -  Related feature tags:

        color                 [3]
        color-space           [this document]
        image-file-structure  [this document]

   -  Related media types or data formats:

        TIFF-FX               [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications




Klyne & McIntyre            Standards Track                    [Page 48]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Author/Change controller:

        IETF

A.14 MRC availability and mode

   -  Media Feature tag name(s):

        MRC-mode

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.27

   -  Summary of the media features indicated:

        This feature is used to indicate the availability of MRC
        (mixed raster content) image format capability, and also the
        MRC mode available.  A zero value indicates MRC is not
        available, a non-zero value (in the range 1..7) indicates the
        available MRC mode number.

        An MRC formatted document is actually a collection of several
        images, each of which is described by a separate feature
        collection.  An MRC-capable receiver is presumed to be capable
        of accepting any combination of contained images that conform
        to the MRC construction rules, where each such image matches
        the separately declared resolution, color capability, color
        model, image coding, and any other capabilities.

           NOTE: an MRC formatted document may appear within a
           TIFF image file structure.

           Within an MRC-formatted document, multi-level coders
           are used for foreground and background images (i.e.
           odd-numbered layers: 1, 3, 5, etc.) and bi-level coders
           are used for mask layers (i.e. even numbered layers 2,
           4, 6, etc.).

   -  Values appropriate for use with this feature tag:

        Integer (0..7)









Klyne & McIntyre            Standards Track                    [Page 49]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.

   -  Examples of typical use:

        See Appendix B of this document.

   -  Related standards or documents:

        ITU T.44 [15]

   -  Interoperability considerations:

        To establish the correct conditions for interoperability
        between systems, capabilities to handle the MRC mode and any
        contained image coding techniques must be established.

   -  Related feature tags:

        image-coding             [this document]
        MRC-max-stripe-size      [this document]

   -  Related media types or data formats:

        TIFF-FX                  [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF

A.15 MRC maximum stripe size

   -  Media Feature tag name(s):

        MRC-max-stripe-size

   -  ASN.1 identifier associated with this feature tag:

        1.3.6.1.8.1.28





Klyne & McIntyre            Standards Track                    [Page 50]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   -  Summary of the media features indicated:

        This feature may be used with MRC coding (MRC-mode>=1), and
        indicates the maximum number of scan lines in each MRC stripe.

        The value given indicates an upper bound on the stripe size.
        The actual value may vary between stripes, and the actual size
        for each stripe is indicated in the image data.

   -  Values appropriate for use with this feature tag:

        Integer (>0)

   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:

        Internet fax, and other applications that transfer image data.

   -  Examples of typical use:

        (MRC-max-stripe-size<=256)
        (MRC-max-stripe-size>=0)

   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:

        For Internet fax, the legal constraints for an image receiver
        are those given as examples above.

   -  Related feature tags:

        MRC-mode              [this document]

   -  Related media types or data formats:

        TIFF-FX               [7]

   -  Intended usage:

        Internet fax
        Color image scanning/rendering applications

   -  Author/Change controller:

        IETF






Klyne & McIntyre            Standards Track                    [Page 51]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


Appendix B: TIFF mode descriptions

   This appendix contains descriptions of the TIFF modes defined by
   RFC 2301 [7], presented as feature set expressions in the form
   defined by "A syntax for describing media feature sets" [2] and
   using the feature schema introduced by this document.

   These may be taken as illustrations of the feature set combinations
   that are required for the corresponding TIFF profiles described by
   RFC 2301.

   TIFF-S has no optional elements, so is presented as a single
   feature set.  Other profiles are presented as (TIFF-x-base) and
   (TIFF-x-full) indicating the minimum and full feature sets
   associated with each profile.

      (TIFF-S) :-
           (& (image-file-structure=TIFF-S)
              (color=Binary)
              (image-coding=MH) (MRC-mode=0)
              (| (& (dpi=200)
                    (dpi-xyratio=[200/100,200/200])
                    (size-x=1728/200) )
                 (& (dpi=204)
                    (dpi-xyratio=[204/98,204/196]
                    (size-x=1728/204) ) )
              (paper-size=A4) )

      (TIFF-F-base) :-
         (& (image-file-structure=TIFF-F)
            (color=Binary)
            (image-coding=MH) (MRC-mode=0)
            (dpi=204)
            (dpi-xyratio=[204/98,204/196])
            (size-x=1728/204)
            (paper-size=A4) )

      (TIFF-F-full) :-
         (& (image-file-structure=TIFF-F)
            (color=Binary)
            (image-coding=[MH,MR,MMR]) (MRC-mode=0)
            (| (& (dpi=200)
                  (dpi-xyratio=[200/100,200/200])
                  (size-x=[1728/200,2048/200,2432/200]) )
               (& (dpi=204)
                  (dpi-xyratio=[204/98,204/196,204/391])
                  (size-x=[1728/204,2048/204,2432/204]) )
               (& (dpi=300)



Klyne & McIntyre            Standards Track                    [Page 52]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


                  (dpi-xyratio=300/300)
                  (size-x=[2592/300,3072/300,3648/300]) )
               (& (dpi=400)
                  (dpi-xyratio=400/400)
                  (size-x=[3456/400,4096/400,4864/400]) )
               (& (dpi=408)
                  (dpi-xyratio=408/391)
                  (size-x=[3456/408,4096/408,4864/408]) ) )
             (paper-size=[A4, B4, A3, letter, legal]) )

      (TIFF-J-base) :-
         (& (image-file-structure=TIFF-J)
            (color=Binary)
            (MRC-mode=0)
            (image-coding=JBIG)
            (image-coding-constraint=JBIG-T85)
            (JBIG-stripe-size=128)
            (dpi=204)
            (dpi-xyratio=[204/98,204/196])
            (size-x=1728/204)
            (paper-size=A4) )

      (TIFF-J-full) :-
         (& (image-file-structure=TIFF-J)
            (color=Binary)
            (MRC-mode=0)
            (image-coding=JBIG)
            (image-coding-constraint=JBIG-T85)
            (JBIG-stripe-size>0)
            (| (& (dpi=200)
                  (dpi-xyratio=[200/100,200/200])
                  (size-x=[1728/200,2048/200,2432/200]) )
               (& (dpi=204)
                  (dpi-xyratio=[204/98,204/196,204/391])
                  (size-x=[1728/204,2048/204,2432/204]) )
               (& (dpi=300)
                  (dpi-xyratio=300/300)
                  (size-x=[2592/300,3072/300,3648/300]) )
               (& (dpi=400)
                  (dpi-xyratio=400/400)
                  (size-x=[3456/400,4096/400,4864/400]) )
               (& (dpi=408)
                  (dpi-xyratio=408/391)
                  (size-x=[3456/408,4096/408,4864/408]) ) )
            (paper-size=[A4, B4, A3, letter, legal]) )

      (TIFF-C-base) :-
         (& (image-file-structure=TIFF-C)



Klyne & McIntyre            Standards Track                    [Page 53]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


            (color=grey)
            (color-levels<=256)
            (MRC-mode=0)
            (image-coding=JPEG) (image-coding-constraint=JPEG-T4E)
            (color-space=CIELAB)
            (CIELAB-L-depth<=101)
            (CIELAB-L-min>=0)
            (CIELAB-L-max<=100)
            (color-illuminant=D50)
            (dpi=200) (dpi-xyratio=1)
            (size-x=864/100)
            (paper-size=A4) )

      (TIFF-C-full) :-
         (& (image-file-structure=TIFF-C)
            (image-coding=JPEG) (image-coding-constraint=JPEG-T4E)
            (color-space=CIELAB)
            (| (& (color=grey)
                  (color-levels<=4096)
                  (CIELAB-L-depth<=4096) )
               (& (color=full)
                  (color-levels<=68719476736)
                  (color-subsampling=["4:1:1","1:1:1"])
                  (CIELAB-L-depth<=4096)
                  (CIELAB-a-depth<=4096)
                  (CIELAB-b-depth<=4096) ) )
            (MRC-mode=0)
            (dpi=[100,200,300,400]) (dpi-xyratio=1)
            (size-x=[864/100,1024/100,1216/100])
            (paper-size=[A4, B4, A3, letter, legal]) )

      (TIFF-L-base) :-
         (& (image-file-structure=TIFF-L)
            (MRC-mode=0)
            (image-coding=JBIG)
            (image-coding-constraint=JBIG-T43)
            (JBIG-stripe-size=128)
            (image-interleave=stripe)
            (color=grey)
            (color-levels<=256)
            (color-space=CIELAB)
            (CIELAB-L-depth=101)
            (CIELAB-L-min>=0)
            (CIELAB-L-max<=100)
            (color-illuminant=D50)
            (dpi=200) (dpi-xyratio=1)
            (size-x=864/100)
            (paper-size=A4) )



Klyne & McIntyre            Standards Track                    [Page 54]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


      (TIFF-L-full) :-
         (& (image-file-structure=TIFF-L)
            (MRC-mode=0)
            (image-coding=JBIG)
            (image-coding-constraint=JBIG-T43)
            (JBIG-stripe-size>0)
            (image-interleave=[stripe, plane])
            (| (& (color=limited)
                  (color-levels<=8)
                  (color-space=[Device-RGB, Device-CMY] ) )
               (& (color=limited)
                  (color-levels<=16)
                  (color-space=Device-CMYK) )
               (& (color=mapped)
                  (color-levels<=65536)
                  (color-space=CIELAB)
                  (CIELAB-L-depth<=4096)
                  (CIELAB-a-depth<=4096)
                  (CIELAB-b-depth<=4096) )
               (& (color=grey)
                  (color-levels<=4096)
                  (color-space=CIELAB)
                  (CIELAB-L-depth<=4096) )
               (& (color=full)
                  (color-space=CIELAB)
                  (color-levels<=68719476736)
                  (CIELAB-L-depth<=4096)
                  (CIELAB-a-depth<=4096)
                  (CIELAB-b-depth<=4096)
                  (CIELAB-L-min>=0) ) )
            (dpi=[100,200,300,400]) (dpi-xyratio=1)
            (size-x=[864/100,1024/100,1216/100])
            (paper-size=[A4, B4, A3, letter, legal]) )

      (TIFF-M-base) :-
         (& (image-file-structure=TIFF-M)
            (MRC-mode>=1)
            (MRC-max-stripe-size<=256) )

      (TIFF-M-full) :-
         (& (image-file-structure=TIFF-M)
            (MRC-mode>=1) )









Klyne & McIntyre            Standards Track                    [Page 55]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


   Support for multiple TIFF profiles may be indicated by combining
   their expressions with the OR operator; e.g.

      (| (TIFF-F) (TIFF-S) (TIFF-J) )

   indicates support for all black-and-white modes.

   TIFF-M is a composite mode and must be used in conjunction with
   some other mode to define the particular capabilities of a
   receiver; e.g.

      (| (TIFF-M-base)
         (TIFF-S) (TIFF-J-full) (TIFF-C-base) (TIFF-L-full) )

   Each sub-image in an MRC image must conform to the capabilities
   indicated AND also to any additional constraints imposed by the MRC
   structure, such as bi-level mask layer, etc.  See sections A.13 and
   section 3.7.

































Klyne & McIntyre            Standards Track                    [Page 56]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


Appendix C: Changes from RFC 2531

   00a  23-Jun-1999  Updated Appendix B with more complete TIFF-FX
                     profile descriptions.  Added note to section 3.5
                     clarifying the meaning of (color=limited) in the
                     context of Internet fax.  Added note to section
                     3.6 and A.6 to clarify interpretation of color
                     depth.  In A.6, noted that color gamut is not the
                     same as color resolution;  fixed example.  Split
                     section 3.7 into two sections, dealing with simple
                     image coding options and MRC composite image
                     options.  Added new feature tag 'color-illuminant'
                     (sections 3.6, A.5).  Added cross-references from
                     TIFF-M image file structure to MRC-mode tag.
                     Updated introduction and references.

   00b  10-Aug-1999  Bring examples into line with T.30 mapping
                     document [4], and reorganize to make the
                     expression structure less complex.  Add details of
                     mailing list for discussion.  Added JPEG-only
                     colour example.  Change definition of image-file-
                     structure tag to indicate more precisely what is
                     being defined, and to draw out the distinction
                     between a file structure to contain MRC images
                     (image-file-structure), and the MRC image model
                     (MRC-mode).

   01a  01-Oct-1999  Update author's address and some references.

   01b  05-Jan-2000  Incorporate last-call review comments (all
                     editorial).




















Klyne & McIntyre            Standards Track                    [Page 57]
^L
RFC 2879      Content Feature Schema for Internet Fax (V2)   August 2000


Full Copyright Statement

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

   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.



















Klyne & McIntyre            Standards Track                    [Page 58]
^L