01: /*
02: * Copyright 2001-2005 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun in the LICENSE file that accompanied this code.
10: *
11: * This code is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14: * version 2 for more details (a copy is included in the LICENSE file that
15: * accompanied this code).
16: *
17: * You should have received a copy of the GNU General Public License version
18: * 2 along with this work; if not, write to the Free Software Foundation,
19: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20: *
21: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25:
26: package com.sun.imageio.plugins.gif;
27:
28: import java.util.ListResourceBundle;
29:
30: public class GIFStreamMetadataFormatResources extends
31: ListResourceBundle {
32:
33: public GIFStreamMetadataFormatResources() {
34: }
35:
36: protected Object[][] getContents() {
37: return new Object[][] {
38:
39: // Node name, followed by description
40: { "Version", "The file version, either 87a or 89a" },
41: { "LogicalScreenDescriptor",
42: "The logical screen descriptor, except for the global color table" },
43: { "GlobalColorTable", "The global color table" },
44: { "ColorTableEntry", "A global color table entry" },
45:
46: // Node name + "/" + AttributeName, followed by description
47: { "Version/value", "The version string" },
48: { "LogicalScreenDescriptor/logicalScreenWidth",
49: "The width in pixels of the whole picture" },
50: { "LogicalScreenDescriptor/logicalScreenHeight",
51: "The height in pixels of the whole picture" },
52: { "LogicalScreenDescriptor/colorResolution",
53: "The number of bits of color resolution, beteen 1 and 8" },
54: { "LogicalScreenDescriptor/pixelAspectRatio",
55: "If 0, indicates square pixels, else W/H = (value + 15)/64" },
56: { "GlobalColorTable/sizeOfGlobalColorTable",
57: "The number of entries in the global color table" },
58: { "GlobalColorTable/backgroundColorIndex",
59: "The index of the color table entry to be used as a background" },
60: { "GlobalColorTable/sortFlag",
61: "True if the global color table is sorted by frequency" },
62: { "ColorTableEntry/index",
63: "The index of the color table entry" },
64: { "ColorTableEntry/red",
65: "The red value for the color table entry" },
66: { "ColorTableEntry/green",
67: "The green value for the color table entry" },
68: { "ColorTableEntry/blue",
69: "The blue value for the color table entry" },
70:
71: };
72: }
73: }
|