Source Code Cross Referenced for CLibPNGMetadataFormatResources.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » com » sun » media » imageioimpl » plugins » png » 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 » 6.0 JDK Modules » Java Advanced Imaging » com.sun.media.imageioimpl.plugins.png 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $RCSfile: CLibPNGMetadataFormatResources.java,v $
003:         *
004:         * 
005:         * Copyright (c) 2005 Sun Microsystems, Inc. All  Rights Reserved.
006:         * 
007:         * Redistribution and use in source and binary forms, with or without
008:         * modification, are permitted provided that the following conditions
009:         * are met: 
010:         * 
011:         * - Redistribution of source code must retain the above copyright 
012:         *   notice, this  list of conditions and the following disclaimer.
013:         * 
014:         * - Redistribution in binary form must reproduce the above copyright
015:         *   notice, this list of conditions and the following disclaimer in 
016:         *   the documentation and/or other materials provided with the
017:         *   distribution.
018:         * 
019:         * Neither the name of Sun Microsystems, Inc. or the names of 
020:         * contributors may be used to endorse or promote products derived 
021:         * from this software without specific prior written permission.
022:         * 
023:         * This software is provided "AS IS," without a warranty of any 
024:         * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 
025:         * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, 
026:         * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
027:         * EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL 
028:         * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF 
029:         * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
030:         * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR 
031:         * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL,
032:         * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND
033:         * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR
034:         * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
035:         * POSSIBILITY OF SUCH DAMAGES. 
036:         * 
037:         * You acknowledge that this software is not designed or intended for 
038:         * use in the design, construction, operation or maintenance of any 
039:         * nuclear facility. 
040:         *
041:         * $Revision: 1.1 $
042:         * $Date: 2005/02/11 05:01:39 $
043:         * $State: Exp $
044:         */
045:
046:        package com.sun.media.imageioimpl.plugins.png;
047:
048:        import java.util.ListResourceBundle;
049:        import javax.imageio.metadata.IIOMetadataFormat;
050:        import javax.imageio.metadata.IIOMetadataFormatImpl;
051:
052:        public class CLibPNGMetadataFormatResources extends ListResourceBundle {
053:
054:            static final Object[][] contents = {
055:                    // Node name, followed by description
056:                    { "IHDR", "The IHDR chunk, containing the header" },
057:                    { "PLTE", "The PLTE chunk, containing the palette" },
058:                    { "PLTEEntry", "A palette entry" },
059:                    { "bKGD", "The bKGD chunk, containing the background color" },
060:                    { "bKGD_RGB",
061:                            "An RGB background color, for RGB and RGBAlpha images" },
062:                    { "bKGD_Grayscale",
063:                            "A grayscale background color, for Gray and GrayAlpha images" },
064:                    { "bKGD_Palette", "A background palette index" },
065:                    { "cHRM", "The cHRM chunk, containing color calibration" },
066:                    { "gAMA", "The gAMA chunk, containing the image gamma" },
067:                    { "hIST",
068:                            "The hIST chunk, containing histogram information " },
069:                    { "hISTEntry", "A histogram entry" },
070:                    { "iCCP", "The iCCP chunk, containing an ICC color profile" },
071:                    { "iTXt",
072:                            "The iTXt chunk, containing internationalized text" },
073:                    { "iTXtEntry", "A localized text entry" },
074:                    { "pHYS",
075:                            "The pHYS chunk, containing the pixel size and aspect ratio" },
076:                    { "sBIT",
077:                            "The sBIT chunk, containing significant bit information" },
078:                    { "sBIT_Grayscale",
079:                            "Significant bit information for gray samples" },
080:                    { "sBIT_GrayAlpha",
081:                            "Significant bit information for gray and alpha samples" },
082:                    { "sBIT_RGB", "Significant bit information for RGB samples" },
083:                    { "sBIT_RGBAlpha",
084:                            "Significant bit information for RGBA samples" },
085:                    { "sBIT_Palette",
086:                            "Significant bit information for RGB palette entries" },
087:                    { "sPLT", "The sPLT chunk, containing a suggested palette" },
088:                    { "sPLTEntry", "A suggested palette entry" },
089:                    { "sRGB",
090:                            "The sRGB chunk, containing rendering intent information" },
091:                    { "tEXt", "The tEXt chunk, containing text" },
092:                    { "tEXtEntry", "A text entry" },
093:                    { "tIME",
094:                            "The tIME chunk, containing the image modification time" },
095:                    { "tRNS",
096:                            "The tRNS chunk, containing transparency information" },
097:                    { "tRNS_Grayscale",
098:                            "A grayscale value that should be considered transparent" },
099:                    { "tRNS_RGB",
100:                            "An RGB value that should be considered transparent" },
101:                    { "tRNS_Palette",
102:                            "A palette index that should be considered transparent" },
103:                    { "zTXt", "The zTXt chunk, containing compressed text" },
104:                    { "zTXtEntry", "A compressed text entry" },
105:                    { "UnknownChunks", "A set of unknown chunks" },
106:                    { "UnknownChunk",
107:                            "Unknown chunk data stored as a byte array" },
108:
109:                    // Node name + "/" + AttributeName, followed by description
110:                    { "IHDR/width", "The width of the image in pixels" },
111:                    { "IHDR/height", "The height of the image in pixels" },
112:                    { "IHDR/bitDepth", "The bit depth of the image samples" },
113:                    { "IHDR/colorType", "The color type of the image" },
114:                    { "IHDR/compressionMethod",
115:                            "The compression used for image data, always \"deflate\"" },
116:                    { "IHDR/filterMethod",
117:                            "The filtering method used for compression, always \"adaptive\"" },
118:                    { "IHDR/interlaceMethod",
119:                            "The interlacing method, \"none\" or \"adam7\"" },
120:
121:                    { "PLTEEntry/index", "The index of a palette entry" },
122:                    { "PLTEEntry/red", "The red value of a palette entry" },
123:                    { "PLTEEntry/green", "The green value of a palette entry" },
124:                    { "PLTEEntry/blue", "The blue value of a palette entry" },
125:
126:                    { "bKGD_Grayscale/gray",
127:                            "A gray value to be used as a background" },
128:                    { "bKGD_RGB/red", "A red value to be used as a background" },
129:                    { "bKGD_RGB/green",
130:                            "A green value to be used as a background" },
131:                    { "bKGD_RGB/blue",
132:                            "A blue value to be used as a background" },
133:                    { "bKGD_Palette/index",
134:                            "A palette index to be used as a background" },
135:
136:                    { "cHRM/whitePointX",
137:                            "The CIE x coordinate of the white point, multiplied by 1e5" },
138:                    { "cHRM/whitePointY",
139:                            "The CIE y coordinate of the white point, multiplied by 1e5" },
140:                    { "cHRM/redX",
141:                            "The CIE x coordinate of the red primary, multiplied by 1e5" },
142:                    { "cHRM/redY",
143:                            "The CIE y coordinate of the red primary, multiplied by 1e5" },
144:                    { "cHRM/greenX",
145:                            "The CIE x coordinate of the green primary, multiplied by 1e5" },
146:                    { "cHRM/greenY",
147:                            "The CIE y coordinate of the green primary, multiplied by 1e5" },
148:                    { "cHRM/blueX",
149:                            "The CIE x coordinate of the blue primary, multiplied by 1e5" },
150:                    { "cHRM/blueY",
151:                            "The CIE y coordinate of the blue primary, multiplied by 1e5" },
152:
153:                    { "gAMA/value", "The image gamma, multiplied by 1e5" },
154:
155:                    { "hISTEntry/index",
156:                            "The palette index of this histogram entry" },
157:                    { "hISTEntry/value",
158:                            "The frequency of this histogram entry" },
159:
160:                    { "iCCP/profileName", "The name of this ICC profile" },
161:                    { "iCCP/compressionMethod",
162:                            "The compression method used to store this ICC profile" },
163:
164:                    { "iTXtEntry/keyword", "The keyword" },
165:                    { "iTXtEntry/compressionMethod",
166:                            "The compression method used to store this iTXt entry" },
167:                    { "iTXtEntry/languageTag",
168:                            "The ISO tag describing the language of this iTXt entry" },
169:                    { "iTXtEntry/translatedKeyword",
170:                            "The translated keyword for iTXt entry" },
171:                    { "iTXtEntry/text", "The localized text" },
172:
173:                    { "pHYS/pixelsPerUnitXAxis",
174:                            "The number of horizontal pixels per unit, multiplied by 1e5" },
175:                    { "pHYS/pixelsPerUnitYAxis",
176:                            "The number of vertical pixels per unit, multiplied by 1e5" },
177:                    { "pHYS/unitSpecifier",
178:                            "The unit specifier for this chunk (i.e., meters)" },
179:
180:                    { "sBIT_Grayscale/gray",
181:                            "The number of significant bits of the gray samples" },
182:                    { "sBIT_GrayAlpha/gray",
183:                            "The number of significant bits of the gray of gray/alpha samples" },
184:                    { "sBIT_GrayAlpha/alpha",
185:                            "The number of significant bits of the alpha of gray/alpha samples" },
186:                    { "sBIT_RGB/red",
187:                            "The number of significant bits of the red of RGB samples" },
188:                    { "sBIT_RGB/green",
189:                            "The number of significant bits of the green of RGB samples" },
190:                    { "sBIT_RGB/blue",
191:                            "The number of significant bits of the blue of RGB samples" },
192:                    { "sBIT_RGBAlpha/red",
193:                            "The number of significant bits of the red of RGBA samples" },
194:                    { "sBIT_RGBAlpha/green",
195:                            "The number of significant bits of the green of RGBA samples" },
196:                    { "sBIT_RGBAlpha/blue",
197:                            "The number of significant bits of the blue of RGBA samples" },
198:                    { "sBIT_RGBAlpha/alpha",
199:                            "The number of significant bits of the alpha of RGBA samples" },
200:                    { "sBIT_Palette/red",
201:                            "The number of significant bits of the red palette entries" },
202:                    { "sBIT_Palette/green",
203:                            "The number of significant bits of the green palette entries" },
204:                    { "sBIT_Palette/blue",
205:                            "The number of significant bits of the blue palette entries" },
206:
207:                    { "sPLTEntry/index",
208:                            "The index of a suggested palette entry" },
209:                    { "sPLTEntry/red",
210:                            "The red value of a suggested palette entry" },
211:                    { "sPLTEntry/green",
212:                            "The green value of a suggested palette entry" },
213:                    { "sPLTEntry/blue",
214:                            "The blue value of a suggested palette entry" },
215:                    { "sPLTEntry/alpha",
216:                            "The blue value of a suggested palette entry" },
217:
218:                    { "sRGB/renderingIntent", "The rendering intent" },
219:
220:                    { "tEXtEntry/keyword", "The keyword" },
221:                    { "tEXtEntry/value", "The text" },
222:
223:                    { "tIME/year", "The year when the image was last modified" },
224:                    { "tIME/month",
225:                            "The month when the image was last modified, 1 = January" },
226:                    { "tIME/day",
227:                            "The day of the month when the image was last modified" },
228:                    { "tIME/hour", "The hour when the image was last modified" },
229:                    { "tIME/minute",
230:                            "The minute when the image was last modified" },
231:                    { "tIME/second",
232:                            "The second when the image was last modified, 60 = leap second" },
233:
234:                    { "tRNS_Grayscale/gray",
235:                            "The gray value to be considered transparent" },
236:                    { "tRNS_RGB/red",
237:                            "The red value to be considered transparent" },
238:                    { "tRNS_RGB/green",
239:                            "The green value to be considered transparent" },
240:                    { "tRNS_RGB/blue",
241:                            "The blue value to be considered transparent" },
242:                    { "tRNS_Palette/index",
243:                            "A palette index to be considered transparent" },
244:                    { "tRNS_Palette/alpha",
245:                            "The transparency associated with the palette entry" },
246:
247:                    { "zTXtEntry/keyword", "The keyword" },
248:                    { "zTXtEntry/compressionMethod", "The compression method" },
249:                    { "zTXtEntry/text", "The compressed text" },
250:
251:                    { "UnknownChunk/type",
252:                            "The 4-character type of the unknown chunk" } };
253:
254:            public CLibPNGMetadataFormatResources() {
255:            }
256:
257:            public Object[][] getContents() {
258:                return contents;
259:            }
260:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.