Source Code Cross Referenced for XTIFF.java in  » GIS » openjump » org » libtiff » jai » codec » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » openjump » org.libtiff.jai.codec 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.libtiff.jai.codec;
002:
003:        /*
004:         * XTIFF: eXtensible TIFF libraries for JAI.
005:         * 
006:         * The contents of this file are subject to the  JAVA ADVANCED IMAGING
007:         * SAMPLE INPUT-OUTPUT CODECS AND WIDGET HANDLING SOURCE CODE  License
008:         * Version 1.0 (the "License"); You may not use this file except in
009:         * compliance with the License. You may obtain a copy of the License at
010:         * http://www.sun.com/software/imaging/JAI/index.html
011:         *
012:         * Software distributed under the License is distributed on an "AS IS"
013:         * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
014:         * the License for the specific language governing rights and limitations
015:         * under the License. 
016:         *
017:         * The Original Code is JAVA ADVANCED IMAGING SAMPLE INPUT-OUTPUT CODECS
018:         * AND WIDGET HANDLING SOURCE CODE. 
019:         * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
020:         * Portions created by: Niles Ritter 
021:         * are Copyright (C): Niles Ritter, GeoTIFF.org, 1999,2000.
022:         * All Rights Reserved.
023:         * Contributor(s): Niles Ritter
024:         */
025:
026:        /**
027:         * XTIFF.   eXtensible TIFF Library.
028:         * 
029:         * A class containing common image type-codes and public tags.
030:         *
031:         */
032:
033:        public abstract class XTIFF {
034:            public static final int TIFFTAG_NEWSUBFILETYPE = 254;
035:            public static final int FILETYPE_REDUCEDIMAGE = 1;
036:            public static final int FILETYPE_PAGE = 2;
037:            public static final int FILETYPE_MASK = 4;
038:            public static final int TIFFTAG_OSUBFILETYPE = 255;
039:            public static final int OFILETYPE_IMAGE = 1;
040:            public static final int OFILETYPE_REDUCEDIMAGE = 2;
041:            public static final int OFILETYPE_PAGE = 3;
042:            public static final int TIFFTAG_IMAGE_WIDTH = 256;
043:            public static final int TIFFTAG_IMAGE_LENGTH = 257;
044:            public static final int TIFFTAG_BITS_PER_SAMPLE = 258;
045:            public static final int TIFFTAG_COMPRESSION = 259;
046:            public static final int COMPRESSION_NONE = 1;
047:            public static final int COMPRESSION_FAX_G3_1D = 2;
048:            public static final int COMPRESSION_FAX_G3_2D = 3;
049:            public static final int COMPRESSION_FAX_G4_2D = 4;
050:            public static final int COMPRESSION_LZW = 5;
051:            public static final int COMPRESSION_OJPEG = 6;
052:            public static final int COMPRESSION_JPEG = 7;
053:            public static final int COMPRESSION_NEXT = 32766;
054:            public static final int COMPRESSION_CCITTRLEW = 32771;
055:            public static final int COMPRESSION_PACKBITS = 32773;
056:            public static final int COMPRESSION_THUNDERSCAN = 32809;
057:            public static final int COMPRESSION_DEFLATE = 32946;
058:            public static final int COMPRESSION_IT8CTPAD = 32895;
059:            public static final int COMPRESSION_IT8LW = 32896;
060:            public static final int COMPRESSION_IT8MP = 32897;
061:            public static final int COMPRESSION_IT8BL = 32898;
062:            public static final int COMPRESSION_PIXARFILM = 32908;
063:            public static final int COMPRESSION_PIXARLOG = 32909;
064:            public static final int COMPRESSION_DCS = 32947;
065:            public static final int COMPRESSION_JBIG = 34661;
066:            public static final int COMPRESSION_SGILOG = 34676;
067:            public static final int COMPRESSION_SGILOG24 = 34677;
068:            public static final int TIFFTAG_PHOTOMETRIC_INTERPRETATION = 262;
069:            public static final int PHOTOMETRIC_WHITE_IS_ZERO = 0;
070:            public static final int PHOTOMETRIC_BLACK_IS_ZERO = 1;
071:            public static final int PHOTOMETRIC_RGB = 2;
072:            public static final int PHOTOMETRIC_PALETTE = 3;
073:            public static final int PHOTOMETRIC_TRANSPARENCY = 4;
074:            public static final int PHOTOMETRIC_CMYK = 5;
075:            public static final int PHOTOMETRIC_YCBCR = 6;
076:            public static final int PHOTOMETRIC_CIELAB = 8;
077:            public static final int PHOTOMETRIC_LOGL = 32844;
078:            public static final int PHOTOMETRIC_LOGLUV = 32845;
079:            public static final int TIFFTAG_THRESHHOLDING = 263;
080:            public static final int THRESHHOLD_BILEVEL = 1;
081:            public static final int THRESHHOLD_HALFTONE = 2;
082:            public static final int THRESHHOLD_ERRORDIFFUSE = 3;
083:            public static final int TIFFTAG_CELLWIDTH = 264;
084:            public static final int TIFFTAG_CELLLENGTH = 265;
085:            public static final int TIFFTAG_FILL_ORDER = 266;
086:            public static final int FILL_ORDER_MSB2LSB = 1;
087:            public static final int FILL_ORDER_LSB2MSB = 2;
088:            public static final int TIFFTAG_DOCUMENTNAME = 269;
089:            public static final int TIFFTAG_IMAGEDESCRIPTION = 270;
090:            public static final int TIFFTAG_MAKE = 271;
091:            public static final int TIFFTAG_MODEL = 272;
092:            public static final int TIFFTAG_STRIPOFFSETS = 273;
093:            public static final int TIFFTAG_ORIENTATION = 274;
094:            public static final int ORIENTATION_TOPLEFT = 1;
095:            public static final int ORIENTATION_TOPRIGHT = 2;
096:            public static final int ORIENTATION_BOTRIGHT = 3;
097:            public static final int ORIENTATION_BOTLEFT = 4;
098:            public static final int ORIENTATION_LEFTTOP = 5;
099:            public static final int ORIENTATION_RIGHTTOP = 6;
100:            public static final int ORIENTATION_RIGHTBOT = 7;
101:            public static final int ORIENTATION_LEFTBOT = 8;
102:            public static final int TIFFTAG_STRIP_OFFSETS = 273;
103:            public static final int TIFFTAG_SAMPLES_PER_PIXEL = 277;
104:            public static final int TIFFTAG_ROWS_PER_STRIP = 278;
105:            public static final int TIFFTAG_STRIP_BYTE_COUNTS = 279;
106:            public static final int TIFFTAG_MINSAMPLEVALUE = 280;
107:            public static final int TIFFTAG_MAXSAMPLEVALUE = 281;
108:            public static final int TIFFTAG_X_RESOLUTION = 282;
109:            public static final int TIFFTAG_Y_RESOLUTION = 283;
110:            public static final int TIFFTAG_PLANARCONFIG = 284;
111:            public static final int PLANARCONFIG_CONTIG = 1;
112:            public static final int PLANARCONFIG_SEPARATE = 2;
113:            public static final int TIFFTAG_PAGENAME = 285;
114:            public static final int TIFFTAG_XPOSITION = 286;
115:            public static final int TIFFTAG_YPOSITION = 287;
116:            public static final int TIFFTAG_FREEOFFSETS = 288;
117:            public static final int TIFFTAG_FREEBYTECOUNTS = 289;
118:            public static final int TIFFTAG_GRAYRESPONSEUNIT = 290;
119:            public static final int GRAYRESPONSEUNIT_10S = 1;
120:            public static final int GRAYRESPONSEUNIT_100S = 2;
121:            public static final int GRAYRESPONSEUNIT_1000S = 3;
122:            public static final int GRAYRESPONSEUNIT_10000S = 4;
123:            public static final int GRAYRESPONSEUNIT_100000S = 5;
124:            public static final int TIFFTAG_GRAYRESPONSECURVE = 291;
125:            public static final int TIFFTAG_T4_OPTIONS = 292;
126:            public static final int T4_2DENCODING = 1;
127:            public static final int T4_UNCOMPRESSED = 2;
128:            public static final int T4_FILLBITS = 4;
129:            public static final int TIFFTAG_T6_OPTIONS = 293;
130:            public static final int T6_UNCOMPRESSED = 2;
131:            public static final int TIFFTAG_RESOLUTION_UNIT = 296;
132:            public static final int RESUNIT_NONE = 1;
133:            public static final int RESUNIT_INCH = 2;
134:            public static final int RESUNIT_CENTIMETER = 3;
135:            public static final int TIFFTAG_PAGENUMBER = 297;
136:            public static final int TIFFTAG_COLORRESPONSEUNIT = 300;
137:            public static final int COLORRESPONSEUNIT_10S = 1;
138:            public static final int COLORRESPONSEUNIT_100S = 2;
139:            public static final int COLORRESPONSEUNIT_1000S = 3;
140:            public static final int COLORRESPONSEUNIT_10000S = 4;
141:            public static final int COLORRESPONSEUNIT_100000S = 5;
142:            public static final int TIFFTAG_TRANSFERFUNCTION = 301;
143:            public static final int TIFFTAG_SOFTWARE = 305;
144:            public static final int TIFFTAG_DATETIME = 306;
145:            public static final int TIFFTAG_ARTIST = 315;
146:            public static final int TIFFTAG_HOSTCOMPUTER = 316;
147:            public static final int TIFFTAG_PREDICTOR = 317;
148:            public static final int TIFFTAG_WHITEPOINT = 318;
149:            public static final int TIFFTAG_PRIMARYCHROMATICITIES = 319;
150:            public static final int TIFFTAG_COLORMAP = 320;
151:            public static final int TIFFTAG_HALFTONEHINTS = 321;
152:            public static final int TIFFTAG_TILE_WIDTH = 322;
153:            public static final int TIFFTAG_TILE_LENGTH = 323;
154:            public static final int TIFFTAG_TILE_OFFSETS = 324;
155:            public static final int TIFFTAG_TILE_BYTE_COUNTS = 325;
156:            public static final int TIFFTAG_BADFAXLINES = 326;
157:            public static final int TIFFTAG_CLEANFAXDATA = 327;
158:            public static final int CLEANFAXDATA_CLEAN = 0;
159:            public static final int CLEANFAXDATA_REGENERATED = 1;
160:            public static final int CLEANFAXDATA_UNCLEAN = 2;
161:            public static final int TIFFTAG_CONSECUTIVEBADFAXLINES = 328;
162:            public static final int TIFFTAG_SUBIFD = 330;
163:            public static final int TIFFTAG_INKSET = 332;
164:            public static final int INKSET_CMYK = 1;
165:            public static final int TIFFTAG_INKNAMES = 333;
166:            public static final int TIFFTAG_NUMBEROFINKS = 334;
167:            public static final int TIFFTAG_DOTRANGE = 336;
168:            public static final int TIFFTAG_TARGETPRINTER = 337;
169:            public static final int TIFFTAG_EXTRASAMPLES = 338;
170:            public static final int TIFFTAG_EXTRA_SAMPLES = 338;
171:            public static final int EXTRA_SAMPLE_UNSPECIFIED = 0;
172:            public static final int EXTRA_SAMPLE_ASSOCALPHA = 1;
173:            public static final int EXTRA_SAMPLE_UNASSALPHA = 2;
174:            public static final int TIFFTAG_SAMPLE_FORMAT = 339;
175:            public static final int SAMPLE_FORMAT_UINT = 1;
176:            public static final int SAMPLE_FORMAT_INT = 2;
177:            public static final int SAMPLE_FORMAT_IEEEFP = 3;
178:            public static final int SAMPLE_FORMAT_VOID = 4;
179:            public static final int TIFFTAG_S_MIN_SAMPLE_VALUE = 340;
180:            public static final int TIFFTAG_S_MAX_SAMPLE_VALUE = 341;
181:            public static final int TIFFTAG_COPYRIGHT = 33432;
182:            public static final int TIFFTAG_GEO_TIEPOINTS = 33922;
183:            public static final int TIFFTAG_GEO_PIXEL_SCALE = 33550;
184:            public static final int TIFFTAG_GEO_TRANS_MATRIX = 34264;
185:            public static final int TIFFTAG_GEO_KEY_DIRECTORY = 34735;
186:            public static final int TIFFTAG_GEO_DOUBLE_PARAMS = 34736;
187:            public static final int TIFFTAG_GEO_ASCII_PARAMS = 34737;
188:
189:            // JAI (not TIFF) Image types 
190:            public static final int TYPE_BILEVEL_WHITE_IS_ZERO = 0;
191:            public static final int TYPE_BILEVEL_BLACK_IS_ZERO = 1;
192:            public static final int TYPE_GREYSCALE_WHITE_IS_ZERO = 2;
193:            public static final int TYPE_GREYSCALE_BLACK_IS_ZERO = 3;
194:            public static final int TYPE_RGB = 4;
195:            public static final int TYPE_ARGB_PRE = 5;
196:            public static final int TYPE_ARGB = 6;
197:            public static final int TYPE_ORGB = 7;
198:            public static final int TYPE_RGB_EXTRA = 8;
199:            public static final int TYPE_PALETTE = 9;
200:            public static final int TYPE_TRANS = 10;
201:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.