KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > imageio > plugins > common > StandardMetadataFormatResources


1 /*
2  * @(#)StandardMetadataFormatResources.java 1.10 05/08/23
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.imageio.plugins.common;
9
10 import java.util.ListResourceBundle JavaDoc;
11
12 public class StandardMetadataFormatResources extends ListResourceBundle JavaDoc {
13
14     public StandardMetadataFormatResources() {}
15
16     protected Object JavaDoc[][] getContents() {
17         return new Object JavaDoc[][] {
18
19         // Node name, followed by description, or
20
// Node name + "/" + AttributeName, followed by description
21

22         { "Chroma", "Chroma (color) information" },
23
24         { "ColorSpaceType", "The raw color space of the image" },
25
26         { "NumChannels",
27           "The number of channels in the raw image, including alpha" },
28
29         { "Gamma", "The image gamma" },
30
31         { "BlackIsZero",
32           "True if smaller values represent darker shades"},
33
34         { "Palette", "Palette-color information" },
35
36         { "PaletteEntry", "A palette entry" },
37         { "PaletteEntry/index", "The index of the palette entry" },
38         { "PaletteEntry/red", "The red value for the palette entry" },
39         { "PaletteEntry/green", "The green value for the palette entry" },
40         { "PaletteEntry/blue", "The blue value for the palette entry" },
41         { "PaletteEntry/alpha", "The alpha value for the palette entry" },
42
43         { "BackgroundIndex", "A palette index to be used as a background" },
44
45         { "BackgroundColor", "An RGB triple to be used as a background" },
46         { "BackgroundColor/red", "The red background value" },
47         { "BackgroundColor/green", "The green background value" },
48         { "BackgroundColor/blue", "The blue background value" },
49
50         { "Compression", "Compression information" },
51
52         { "CompressionTypeName", "The name of the compression scheme in use" },
53
54         { "Lossless",
55           "True if the compression scheme is lossless" },
56
57         { "BitRate", "The estimated bit rate of the compression scheme" },
58
59         { "NumProgressiveScans",
60           "The number of progressive scans used in the image encoding"},
61
62         { "Data", "Information on the image layout" },
63
64         { "PlanarConfiguration",
65           "The organization of image samples in the stream" },
66
67         { "SampleFormat", "The numeric format of image samples" },
68
69         { "BitsPerSample", "The number of bits per sample"},
70         { "BitsPerSample/value",
71           "A list of integers, one per channel" },
72
73         { "SignificantBitsPerSample",
74           "The number of significant bits per sample"},
75         { "SignificantBitsPerSample/value",
76           "A list of integers, one per channel" },
77
78         { "SampleMSB",
79           "The position of the most significant bit of each sample"},
80         { "SampleMSB/value",
81           "A list of integers, one per channel" },
82
83         { "Dimension", "Dimension information" },
84
85         { "PixelAspectRatio", "The width of a pixel divided by its height" },
86
87         { "ImageOrientation", "The desired orientation of the image in terms of flips and counter-clockwise rotations" },
88
89         { "HorizontalPixelSize",
90   "The width of a pixel, in millimeters, as it should be rendered on media" },
91
92         { "VerticalPixelSize",
93   "The height of a pixel, in millimeters, as it should be rendered on media" },
94
95         { "HorizontalPhysicalPixelSpacing",
96           "The horizontal distance in the subject of the image, in millimeters, represented by one pixel at the center of the image" },
97
98         { "VerticalPhysicalPixelSpacing",
99           "The vertical distance in the subject of the image, in millimeters, represented by one pixel at the center of the image" },
100         
101         { "HorizontalPosition",
102           "The horizontal position, in millimeters, where the image should be rendered on media " },
103         
104         { "VerticalPosition",
105           "The vertical position, in millimeters, where the image should be rendered on media " },
106         
107         { "HorizontalPixelOffset",
108           "The horizonal position, in pixels, where the image should be rendered onto a raster display" },
109         
110         { "VerticalPixelOffset",
111           "The vertical position, in pixels, where the image should be rendered onto a raster display" },
112         
113         { "HorizontalScreenSize",
114           "The width, in pixels, of the raster display into which the image should be rendered" },
115         
116         { "VerticalScreenSize",
117           "The height, in pixels, of the raster display into which the image should be rendered" },
118         
119         { "Document", "Document information" },
120
121         { "FormatVersion",
122           "The version of the format used by the stream" },
123         
124         { "SubimageInterpretation",
125           "The interpretation of this image in relation to the other images stored in the same stream" },
126
127         { "ImageCreationTime", "The time of image creation" },
128         { "ImageCreationTime/year",
129           "The full year (e.g., 1967, not 67)" },
130         { "ImageCreationTime/month",
131           "The month, with January = 1" },
132         { "ImageCreationTime/day",
133           "The day of the month" },
134         { "ImageCreationTime/hour",
135           "The hour from 0 to 23" },
136         { "ImageCreationTime/minute",
137           "The minute from 0 to 59" },
138         { "ImageCreationTime/second",
139           "The second from 0 to 60 (60 = leap second)" },
140
141         { "ImageModificationTime", "The time of the last image modification" },
142         { "ImageModificationTime/year",
143           "The full year (e.g., 1967, not 67)" },
144         { "ImageModificationTime/month",
145           "The month, with January = 1" },
146         { "ImageModificationTime/day",
147           "The day of the month" },
148         { "ImageModificationTime/hour",
149           "The hour from 0 to 23" },
150         { "ImageModificationTime/minute",
151           "The minute from 0 to 59" },
152         { "ImageModificationTime/second",
153           "The second from 0 to 60 (60 = leap second)" },
154
155         { "Text", "Text information" },
156
157         { "TextEntry", "A text entry"},
158         { "TextEntry/keyword", "A keyword associated with the text entry" },
159         { "TextEntry/value", "the text entry" },
160         { "TextEntry/language", "The language of the text" },
161         { "TextEntry/encoding", "The encoding of the text" },
162         { "TextEntry/compression", "The method used to compress the text" },
163
164         { "Transparency", "Transparency information" },
165
166         { "Alpha", "The type of alpha information contained in the image" },
167
168         { "TransparentIndex", "A palette index to be treated as transparent" },
169
170         { "TransparentColor", "An RGB color to be treated as transparent" },
171         { "TransparentColor/red",
172           "The red channel of the transparent color" },
173         { "TransparentColor/green",
174           "The green channel of the transparent color" },
175         { "TransparentColor/blue",
176           "The blue channel of the transparent color" },
177
178         { "TileTransparencies", "A list of completely transparent tiles" },
179
180         { "TransparentTile", "The index of a completely transparent tile" },
181         { "TransparentTile/x", "The tile's X index" },
182         { "TransparentTile/y", "The tile's Y index" },
183
184         { "TileOpacities", "A list of completely opaque tiles" },
185
186         { "OpaqueTile", "The index of a completely opaque tile" },
187         { "OpaqueTile/x", "The tile's X index" },
188         { "OpaqueTile/y", "The tile's Y index" },
189
190         };
191     }
192 }
193
Popular Tags