OLD | NEW |
1 /* $Id: tiff.h,v 1.68 2012-08-19 16:56:35 bfriesen Exp $ */ | 1 /* $Id: tiff.h,v 1.69 2014-04-02 17:23:06 fwarmerdam Exp $ */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (c) 1988-1997 Sam Leffler | 4 * Copyright (c) 1988-1997 Sam Leffler |
5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. | 5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. |
6 * | 6 * |
7 * Permission to use, copy, modify, distribute, and sell this software and | 7 * Permission to use, copy, modify, distribute, and sell this software and |
8 * its documentation for any purpose is hereby granted without fee, provided | 8 * its documentation for any purpose is hereby granted without fee, provided |
9 * that (i) the above copyright notices and this permission notice appear in | 9 * that (i) the above copyright notices and this permission notice appear in |
10 * all copies of the software and related documentation, and (ii) the names of | 10 * all copies of the software and related documentation, and (ii) the names of |
11 * Sam Leffler and Silicon Graphics may not be used in any advertising or | 11 * Sam Leffler and Silicon Graphics may not be used in any advertising or |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 #define PHOTOMETRIC_MINISWHITE 0 /* min value is white */ | 194 #define PHOTOMETRIC_MINISWHITE 0 /* min value is white */ |
195 #define PHOTOMETRIC_MINISBLACK 1 /* min value is black */ | 195 #define PHOTOMETRIC_MINISBLACK 1 /* min value is black */ |
196 #define PHOTOMETRIC_RGB 2 /* RGB color model */ | 196 #define PHOTOMETRIC_RGB 2 /* RGB color model */ |
197 #define PHOTOMETRIC_PALETTE 3 /* color map indexed */ | 197 #define PHOTOMETRIC_PALETTE 3 /* color map indexed */ |
198 #define PHOTOMETRIC_MASK 4 /* $holdout mask */ | 198 #define PHOTOMETRIC_MASK 4 /* $holdout mask */ |
199 #define PHOTOMETRIC_SEPARATED 5 /* !color separations */ | 199 #define PHOTOMETRIC_SEPARATED 5 /* !color separations */ |
200 #define PHOTOMETRIC_YCBCR 6 /* !CCIR 601 */ | 200 #define PHOTOMETRIC_YCBCR 6 /* !CCIR 601 */ |
201 #define PHOTOMETRIC_CIELAB 8 /* !1976 CIE L*a*b* */ | 201 #define PHOTOMETRIC_CIELAB 8 /* !1976 CIE L*a*b* */ |
202 #define PHOTOMETRIC_ICCLAB 9 /* ICC L*a*b* [Adobe TIFF Techno
te 4] */ | 202 #define PHOTOMETRIC_ICCLAB 9 /* ICC L*a*b* [Adobe TIFF Techno
te 4] */ |
203 #define PHOTOMETRIC_ITULAB 10 /* ITU L*a*b* */ | 203 #define PHOTOMETRIC_ITULAB 10 /* ITU L*a*b* */ |
| 204 #define PHOTOMETRIC_CFA 32803 /* color filter array */ |
204 #define PHOTOMETRIC_LOGL 32844 /* CIE Log2(L) */ | 205 #define PHOTOMETRIC_LOGL 32844 /* CIE Log2(L) */ |
205 #define PHOTOMETRIC_LOGLUV 32845 /* CIE Log2(L) (u',v') */ | 206 #define PHOTOMETRIC_LOGLUV 32845 /* CIE Log2(L) (u',v') */ |
206 #define TIFFTAG_THRESHHOLDING 263 /* +thresholding used on data */ | 207 #define TIFFTAG_THRESHHOLDING 263 /* +thresholding used on data */ |
207 #define THRESHHOLD_BILEVEL 1 /* b&w art scan */ | 208 #define THRESHHOLD_BILEVEL 1 /* b&w art scan */ |
208 #define THRESHHOLD_HALFTONE 2 /* or dithered scan */ | 209 #define THRESHHOLD_HALFTONE 2 /* or dithered scan */ |
209 #define THRESHHOLD_ERRORDIFFUSE 3 /* usually floyd-steinberg */ | 210 #define THRESHHOLD_ERRORDIFFUSE 3 /* usually floyd-steinberg */ |
210 #define TIFFTAG_CELLWIDTH 264 /* +dithering matrix width */ | 211 #define TIFFTAG_CELLWIDTH 264 /* +dithering matrix width */ |
211 #define TIFFTAG_CELLLENGTH 265 /* +dithering matrix height */ | 212 #define TIFFTAG_CELLLENGTH 265 /* +dithering matrix height */ |
212 #define TIFFTAG_FILLORDER 266 /* data order within a byte */ | 213 #define TIFFTAG_FILLORDER 266 /* data order within a byte */ |
213 #define FILLORDER_MSB2LSB 1 /* most significant -> least */ | 214 #define FILLORDER_MSB2LSB 1 /* most significant -> least */ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 /* Tags 33302-33306 are used to identify special image modes and data | 396 /* Tags 33302-33306 are used to identify special image modes and data |
396 * used by Pixar's texture formats. | 397 * used by Pixar's texture formats. |
397 */ | 398 */ |
398 #define TIFFTAG_PIXAR_TEXTUREFORMAT 33302 /* texture map format */ | 399 #define TIFFTAG_PIXAR_TEXTUREFORMAT 33302 /* texture map format */ |
399 #define TIFFTAG_PIXAR_WRAPMODES 33303 /* s & t wrap modes */ | 400 #define TIFFTAG_PIXAR_WRAPMODES 33303 /* s & t wrap modes */ |
400 #define TIFFTAG_PIXAR_FOVCOT 33304 /* cotan(fov) for env. maps */ | 401 #define TIFFTAG_PIXAR_FOVCOT 33304 /* cotan(fov) for env. maps */ |
401 #define TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN 33305 | 402 #define TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN 33305 |
402 #define TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA 33306 | 403 #define TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA 33306 |
403 /* tag 33405 is a private tag registered to Eastman Kodak */ | 404 /* tag 33405 is a private tag registered to Eastman Kodak */ |
404 #define TIFFTAG_WRITERSERIALNUMBER 33405 /* device serial number */ | 405 #define TIFFTAG_WRITERSERIALNUMBER 33405 /* device serial number */ |
| 406 #define TIFFTAG_CFAREPEATPATTERNDIM 33421 /* dimensions of CFA pattern */ |
| 407 #define TIFFTAG_CFAPATTERN 33422 /* color filter array pattern */ |
405 /* tag 33432 is listed in the 6.0 spec w/ unknown ownership */ | 408 /* tag 33432 is listed in the 6.0 spec w/ unknown ownership */ |
406 #define TIFFTAG_COPYRIGHT 33432 /* copyright string */ | 409 #define TIFFTAG_COPYRIGHT 33432 /* copyright string */ |
407 /* IPTC TAG from RichTIFF specifications */ | 410 /* IPTC TAG from RichTIFF specifications */ |
408 #define TIFFTAG_RICHTIFFIPTC 33723 | 411 #define TIFFTAG_RICHTIFFIPTC 33723 |
409 /* 34016-34029 are reserved for ANSI IT8 TIFF/IT <dkelly@apago.com) */ | 412 /* 34016-34029 are reserved for ANSI IT8 TIFF/IT <dkelly@apago.com) */ |
410 #define TIFFTAG_IT8SITE 34016 /* site name */ | 413 #define TIFFTAG_IT8SITE 34016 /* site name */ |
411 #define TIFFTAG_IT8COLORSEQUENCE 34017 /* color seq. [RGB,CMYK,etc] */ | 414 #define TIFFTAG_IT8COLORSEQUENCE 34017 /* color seq. [RGB,CMYK,etc] */ |
412 #define TIFFTAG_IT8HEADER 34018 /* DDES Header */ | 415 #define TIFFTAG_IT8HEADER 34018 /* DDES Header */ |
413 #define TIFFTAG_IT8RASTERPADDING 34019 /* raster scanline padding */ | 416 #define TIFFTAG_IT8RASTERPADDING 34019 /* raster scanline padding */ |
414 #define TIFFTAG_IT8BITSPERRUNLENGTH 34020 /* # of bits in short run */ | 417 #define TIFFTAG_IT8BITSPERRUNLENGTH 34020 /* # of bits in short run */ |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 #endif /* _TIFF_ */ | 672 #endif /* _TIFF_ */ |
670 | 673 |
671 /* vim: set ts=8 sts=8 sw=8 noet: */ | 674 /* vim: set ts=8 sts=8 sw=8 noet: */ |
672 /* | 675 /* |
673 * Local Variables: | 676 * Local Variables: |
674 * mode: c | 677 * mode: c |
675 * c-basic-offset: 8 | 678 * c-basic-offset: 8 |
676 * fill-column: 78 | 679 * fill-column: 78 |
677 * End: | 680 * End: |
678 */ | 681 */ |
OLD | NEW |