1 33 package com.lowagie.text.pdf.codec; 34 35 50 public class TIFFConstants { 51 52 55 public static final int TIFFTAG_SUBFILETYPE = 254; 56 public static final int FILETYPE_REDUCEDIMAGE = 0x1; 57 public static final int FILETYPE_PAGE = 0x2; 58 public static final int FILETYPE_MASK = 0x4; 59 public static final int TIFFTAG_OSUBFILETYPE = 255; 60 public static final int OFILETYPE_IMAGE = 1; 61 public static final int OFILETYPE_REDUCEDIMAGE = 2; 62 public static final int OFILETYPE_PAGE = 3; 63 public static final int TIFFTAG_IMAGEWIDTH = 256; 64 public static final int TIFFTAG_IMAGELENGTH = 257; 65 public static final int TIFFTAG_BITSPERSAMPLE = 258; 66 public static final int TIFFTAG_COMPRESSION = 259; 67 public static final int COMPRESSION_NONE = 1; 68 public static final int COMPRESSION_CCITTRLE = 2; 69 public static final int COMPRESSION_CCITTFAX3 = 3; 70 public static final int COMPRESSION_CCITTFAX4 = 4; 71 public static final int COMPRESSION_LZW = 5; 72 public static final int COMPRESSION_OJPEG = 6; 73 public static final int COMPRESSION_JPEG = 7; 74 public static final int COMPRESSION_NEXT = 32766; 75 public static final int COMPRESSION_CCITTRLEW = 32771; 76 public static final int COMPRESSION_PACKBITS = 32773; 77 public static final int COMPRESSION_THUNDERSCAN = 32809; 78 79 public static final int COMPRESSION_IT8CTPAD = 32895; 80 public static final int COMPRESSION_IT8LW = 32896; 81 public static final int COMPRESSION_IT8MP = 32897; 82 public static final int COMPRESSION_IT8BL = 32898; 83 84 public static final int COMPRESSION_PIXARFILM = 32908; 85 public static final int COMPRESSION_PIXARLOG = 32909; 86 public static final int COMPRESSION_DEFLATE = 32946; 87 public static final int COMPRESSION_ADOBE_DEFLATE = 8; 88 89 public static final int COMPRESSION_DCS = 32947; 90 public static final int COMPRESSION_JBIG = 34661; 91 public static final int COMPRESSION_SGILOG = 34676; 92 public static final int COMPRESSION_SGILOG24 = 34677; 93 public static final int TIFFTAG_PHOTOMETRIC = 262; 94 public static final int PHOTOMETRIC_MINISWHITE = 0; 95 public static final int PHOTOMETRIC_MINISBLACK = 1; 96 public static final int PHOTOMETRIC_RGB = 2; 97 public static final int PHOTOMETRIC_PALETTE = 3; 98 public static final int PHOTOMETRIC_MASK = 4; 99 public static final int PHOTOMETRIC_SEPARATED = 5; 100 public static final int PHOTOMETRIC_YCBCR = 6; 101 public static final int PHOTOMETRIC_CIELAB = 8; 102 public static final int PHOTOMETRIC_LOGL = 32844; 103 public static final int PHOTOMETRIC_LOGLUV = 32845; 104 public static final int TIFFTAG_THRESHHOLDING = 263; 105 public static final int THRESHHOLD_BILEVEL = 1; 106 public static final int THRESHHOLD_HALFTONE = 2; 107 public static final int THRESHHOLD_ERRORDIFFUSE = 3; 108 public static final int TIFFTAG_CELLWIDTH = 264; 109 public static final int TIFFTAG_CELLLENGTH = 265; 110 public static final int TIFFTAG_FILLORDER = 266; 111 public static final int FILLORDER_MSB2LSB = 1; 112 public static final int FILLORDER_LSB2MSB = 2; 113 public static final int TIFFTAG_DOCUMENTNAME = 269; 114 public static final int TIFFTAG_IMAGEDESCRIPTION = 270; 115 public static final int TIFFTAG_MAKE = 271; 116 public static final int TIFFTAG_MODEL = 272; 117 public static final int TIFFTAG_STRIPOFFSETS = 273; 118 public static final int TIFFTAG_ORIENTATION = 274; 119 public static final int ORIENTATION_TOPLEFT = 1; 120 public static final int ORIENTATION_TOPRIGHT = 2; 121 public static final int ORIENTATION_BOTRIGHT = 3; 122 public static final int ORIENTATION_BOTLEFT = 4; 123 public static final int ORIENTATION_LEFTTOP = 5; 124 public static final int ORIENTATION_RIGHTTOP = 6; 125 public static final int ORIENTATION_RIGHTBOT = 7; 126 public static final int ORIENTATION_LEFTBOT = 8; 127 public static final int TIFFTAG_SAMPLESPERPIXEL = 277; 128 public static final int TIFFTAG_ROWSPERSTRIP = 278; 129 public static final int TIFFTAG_STRIPBYTECOUNTS = 279; 130 public static final int TIFFTAG_MINSAMPLEVALUE = 280; 131 public static final int TIFFTAG_MAXSAMPLEVALUE = 281; 132 public static final int TIFFTAG_XRESOLUTION = 282; 133 public static final int TIFFTAG_YRESOLUTION = 283; 134 public static final int TIFFTAG_PLANARCONFIG = 284; 135 public static final int PLANARCONFIG_CONTIG = 1; 136 public static final int PLANARCONFIG_SEPARATE = 2; 137 public static final int TIFFTAG_PAGENAME = 285; 138 public static final int TIFFTAG_XPOSITION = 286; 139 public static final int TIFFTAG_YPOSITION = 287; 140 public static final int TIFFTAG_FREEOFFSETS = 288; 141 public static final int TIFFTAG_FREEBYTECOUNTS = 289; 142 public static final int TIFFTAG_GRAYRESPONSEUNIT = 290; 143 public static final int GRAYRESPONSEUNIT_10S = 1; 144 public static final int GRAYRESPONSEUNIT_100S = 2; 145 public static final int GRAYRESPONSEUNIT_1000S = 3; 146 public static final int GRAYRESPONSEUNIT_10000S = 4; 147 public static final int GRAYRESPONSEUNIT_100000S = 5; 148 public static final int TIFFTAG_GRAYRESPONSECURVE = 291; 149 public static final int TIFFTAG_GROUP3OPTIONS = 292; 150 public static final int GROUP3OPT_2DENCODING = 0x1; 151 public static final int GROUP3OPT_UNCOMPRESSED = 0x2; 152 public static final int GROUP3OPT_FILLBITS = 0x4; 153 public static final int TIFFTAG_GROUP4OPTIONS = 293; 154 public static final int GROUP4OPT_UNCOMPRESSED = 0x2; 155 public static final int TIFFTAG_RESOLUTIONUNIT = 296; 156 public static final int RESUNIT_NONE = 1; 157 public static final int RESUNIT_INCH = 2; 158 public static final int RESUNIT_CENTIMETER = 3; 159 public static final int TIFFTAG_PAGENUMBER = 297; 160 public static final int TIFFTAG_COLORRESPONSEUNIT = 300; 161 public static final int COLORRESPONSEUNIT_10S = 1; 162 public static final int COLORRESPONSEUNIT_100S = 2; 163 public static final int COLORRESPONSEUNIT_1000S = 3; 164 public static final int COLORRESPONSEUNIT_10000S = 4; 165 public static final int COLORRESPONSEUNIT_100000S = 5; 166 public static final int TIFFTAG_TRANSFERFUNCTION = 301; 167 public static final int TIFFTAG_SOFTWARE = 305; 168 public static final int TIFFTAG_DATETIME = 306; 169 public static final int TIFFTAG_ARTIST = 315; 170 public static final int TIFFTAG_HOSTCOMPUTER = 316; 171 public static final int TIFFTAG_PREDICTOR = 317; 172 public static final int TIFFTAG_WHITEPOINT = 318; 173 public static final int TIFFTAG_PRIMARYCHROMATICITIES = 319; 174 public static final int TIFFTAG_COLORMAP = 320; 175 public static final int TIFFTAG_HALFTONEHINTS = 321; 176 public static final int TIFFTAG_TILEWIDTH = 322; 177 public static final int TIFFTAG_TILELENGTH = 323; 178 public static final int TIFFTAG_TILEOFFSETS = 324; 179 public static final int TIFFTAG_TILEBYTECOUNTS = 325; 180 public static final int TIFFTAG_BADFAXLINES = 326; 181 public static final int TIFFTAG_CLEANFAXDATA = 327; 182 public static final int CLEANFAXDATA_CLEAN = 0; 183 public static final int CLEANFAXDATA_REGENERATED = 1; 184 public static final int CLEANFAXDATA_UNCLEAN = 2; 185 public static final int TIFFTAG_CONSECUTIVEBADFAXLINES = 328; 186 public static final int TIFFTAG_SUBIFD = 330; 187 public static final int TIFFTAG_INKSET = 332; 188 public static final int INKSET_CMYK = 1; 189 public static final int TIFFTAG_INKNAMES = 333; 190 public static final int TIFFTAG_NUMBEROFINKS = 334; 191 public static final int TIFFTAG_DOTRANGE = 336; 192 public static final int TIFFTAG_TARGETPRINTER = 337; 193 public static final int TIFFTAG_EXTRASAMPLES = 338; 194 public static final int EXTRASAMPLE_UNSPECIFIED = 0; 195 public static final int EXTRASAMPLE_ASSOCALPHA = 1; 196 public static final int EXTRASAMPLE_UNASSALPHA = 2; 197 public static final int TIFFTAG_SAMPLEFORMAT = 339; 198 public static final int SAMPLEFORMAT_UINT = 1; 199 public static final int SAMPLEFORMAT_INT = 2; 200 public static final int SAMPLEFORMAT_IEEEFP = 3; 201 public static final int SAMPLEFORMAT_VOID = 4; 202 public static final int SAMPLEFORMAT_COMPLEXINT = 5; 203 public static final int SAMPLEFORMAT_COMPLEXIEEEFP = 6; 204 public static final int TIFFTAG_SMINSAMPLEVALUE = 340; 205 public static final int TIFFTAG_SMAXSAMPLEVALUE = 341; 206 public static final int TIFFTAG_JPEGTABLES = 347; 207 211 public static final int TIFFTAG_JPEGPROC = 512; 212 public static final int JPEGPROC_BASELINE = 1; 213 public static final int JPEGPROC_LOSSLESS = 14; 214 public static final int TIFFTAG_JPEGIFOFFSET = 513; 215 public static final int TIFFTAG_JPEGIFBYTECOUNT = 514; 216 public static final int TIFFTAG_JPEGRESTARTINTERVAL = 515; 217 public static final int TIFFTAG_JPEGLOSSLESSPREDICTORS = 517; 218 public static final int TIFFTAG_JPEGPOINTTRANSFORM = 518; 219 public static final int TIFFTAG_JPEGQTABLES = 519; 220 public static final int TIFFTAG_JPEGDCTABLES = 520; 221 public static final int TIFFTAG_JPEGACTABLES = 521; 222 public static final int TIFFTAG_YCBCRCOEFFICIENTS = 529; 223 public static final int TIFFTAG_YCBCRSUBSAMPLING = 530; 224 public static final int TIFFTAG_YCBCRPOSITIONING = 531; 225 public static final int YCBCRPOSITION_CENTERED = 1; 226 public static final int YCBCRPOSITION_COSITED = 2; 227 public static final int TIFFTAG_REFERENCEBLACKWHITE = 532; 228 229 public static final int TIFFTAG_REFPTS = 32953; 230 public static final int TIFFTAG_REGIONTACKPOINT = 32954; 231 public static final int TIFFTAG_REGIONWARPCORNERS = 32955; 232 public static final int TIFFTAG_REGIONAFFINE = 32956; 233 234 public static final int TIFFTAG_MATTEING = 32995; 235 public static final int TIFFTAG_DATATYPE = 32996; 236 public static final int TIFFTAG_IMAGEDEPTH = 32997; 237 public static final int TIFFTAG_TILEDEPTH = 32998; 238 239 246 public static final int TIFFTAG_PIXAR_IMAGEFULLWIDTH = 33300; 247 public static final int TIFFTAG_PIXAR_IMAGEFULLLENGTH = 33301; 248 251 public static final int TIFFTAG_PIXAR_TEXTUREFORMAT = 33302; 252 public static final int TIFFTAG_PIXAR_WRAPMODES = 33303; 253 public static final int TIFFTAG_PIXAR_FOVCOT = 33304; 254 public static final int TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN = 33305; 255 public static final int TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA = 33306; 256 257 public static final int TIFFTAG_WRITERSERIALNUMBER = 33405; 258 259 public static final int TIFFTAG_COPYRIGHT = 33432; 260 261 public static final int TIFFTAG_RICHTIFFIPTC = 33723; 262 263 public static final int TIFFTAG_IT8SITE = 34016; 264 public static final int TIFFTAG_IT8COLORSEQUENCE = 34017; 265 public static final int TIFFTAG_IT8HEADER = 34018; 266 public static final int TIFFTAG_IT8RASTERPADDING = 34019; 267 public static final int TIFFTAG_IT8BITSPERRUNLENGTH = 34020; 268 public static final int TIFFTAG_IT8BITSPEREXTENDEDRUNLENGTH = 34021; 269 public static final int TIFFTAG_IT8COLORTABLE = 34022; 270 public static final int TIFFTAG_IT8IMAGECOLORINDICATOR = 34023; 271 public static final int TIFFTAG_IT8BKGCOLORINDICATOR = 34024; 272 public static final int TIFFTAG_IT8IMAGECOLORVALUE = 34025; 273 public static final int TIFFTAG_IT8BKGCOLORVALUE = 34026; 274 public static final int TIFFTAG_IT8PIXELINTENSITYRANGE = 34027; 275 public static final int TIFFTAG_IT8TRANSPARENCYINDICATOR = 34028; 276 public static final int TIFFTAG_IT8COLORCHARACTERIZATION = 34029; 277 278 public static final int TIFFTAG_FRAMECOUNT = 34232; 279 280 public static final int TIFFTAG_ICCPROFILE = 34675; 281 282 public static final int TIFFTAG_PHOTOSHOP = 34377; 283 284 public static final int TIFFTAG_JBIGOPTIONS = 34750; 285 286 public static final int TIFFTAG_FAXRECVPARAMS = 34908; 287 public static final int TIFFTAG_FAXSUBADDRESS = 34909; 288 public static final int TIFFTAG_FAXRECVTIME = 34910; 289 290 public static final int TIFFTAG_STONITS = 37439; 291 292 public static final int TIFFTAG_FEDEX_EDR = 34929; 293 294 public static final int TIFFTAG_DCSHUESHIFTVALUES = 65535; 295 296 } 297 | Popular Tags |