1. /*
  2. * @(#)StandardMetadataFormatResources.java 1.8 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.imageio.plugins.common;
  8. import java.util.ListResourceBundle;
  9. public class StandardMetadataFormatResources extends ListResourceBundle {
  10. static final Object[][] contents = {
  11. // Node name, followed by description, or
  12. // Node name + "/" + AttributeName, followed by description
  13. { "Chroma", "Chroma (color) information" },
  14. { "ColorSpaceType", "The raw color space of the image" },
  15. { "NumChannels",
  16. "The number of channels in the raw image, including alpha" },
  17. { "Gamma", "The image gamma" },
  18. { "BlackIsZero",
  19. "True if smaller values represent darker shades"},
  20. { "Palette", "Palette-color information" },
  21. { "PaletteEntry", "A palette entry" },
  22. { "PaletteEntry/index", "The index of the palette entry" },
  23. { "PaletteEntry/red", "The red value for the palette entry" },
  24. { "PaletteEntry/green", "The green value for the palette entry" },
  25. { "PaletteEntry/blue", "The blue value for the palette entry" },
  26. { "PaletteEntry/alpha", "The alpha value for the palette entry" },
  27. { "BackgroundIndex", "A palette index to be used as a background" },
  28. { "BackgroundColor", "An RGB triple to be used as a background" },
  29. { "BackgroundColor/red", "The red background value" },
  30. { "BackgroundColor/green", "The green background value" },
  31. { "BackgroundColor/blue", "The blue background value" },
  32. { "Compression", "Compression information" },
  33. { "CompressionTypeName", "The name of the compression scheme in use" },
  34. { "Lossless",
  35. "True if the compression scheme is lossless" },
  36. { "BitRate", "The estimated bit rate of the compression scheme" },
  37. { "NumProgressiveScans",
  38. "The number of progressive scans used in the image encoding"},
  39. { "Data", "Information on the image layout" },
  40. { "PlanarConfiguration",
  41. "The organization of image samples in the stream" },
  42. { "SampleFormat", "The numeric format of image samples" },
  43. { "BitsPerSample", "The number of bits per sample"},
  44. { "BitsPerSample/value",
  45. "A list of integers, one per channel" },
  46. { "SignificantBitsPerSample",
  47. "The number of significant bits per sample"},
  48. { "SignificantBitsPerSample/value",
  49. "A list of integers, one per channel" },
  50. { "SampleMSB",
  51. "The position of the most significant bit of each sample"},
  52. { "SampleMSB/value",
  53. "A list of integers, one per channel" },
  54. { "Dimension", "Dimension information" },
  55. { "PixelAspectRatio", "The width of a pixel divided by its height" },
  56. { "ImageOrientation", "The desired orientation of the image in terms of flips and counter-clockwise rotations" },
  57. { "HorizontalPixelSize",
  58. "The width of a pixel, in millimeters, as it should be rendered on media" },
  59. { "VerticalPixelSize",
  60. "The height of a pixel, in millimeters, as it should be rendered on media" },
  61. { "HorizontalPhysicalPixelSpacing",
  62. "The horizontal distance in the subject of the image, in millimeters, represented by one pixel at the center of the image" },
  63. { "VerticalPhysicalPixelSpacing",
  64. "The vertical distance in the subject of the image, in millimeters, represented by one pixel at the center of the image" },
  65. { "HorizontalPosition",
  66. "The horizontal position, in millimeters, where the image should be rendered on media " },
  67. { "VerticalPosition",
  68. "The vertical position, in millimeters, where the image should be rendered on media " },
  69. { "HorizontalPixelOffset",
  70. "The horizonal position, in pixels, where the image should be rendered onto a raster display" },
  71. { "VerticalPixelOffset",
  72. "The vertical position, in pixels, where the image should be rendered onto a raster display" },
  73. { "HorizontalScreenSize",
  74. "The width, in pixels, of the raster display into which the image should be rendered" },
  75. { "VerticalScreenSize",
  76. "The height, in pixels, of the raster display into which the image should be rendered" },
  77. { "Document", "Document information" },
  78. { "FormatVersion",
  79. "The version of the format used by the stream" },
  80. { "SubimageInterpretation",
  81. "The interpretation of this image in relation to the other images stored in the same stream" },
  82. { "ImageCreationTime", "The time of image creation" },
  83. { "ImageCreationTime/year",
  84. "The full year (e.g., 1967, not 67)" },
  85. { "ImageCreationTime/month",
  86. "The month, with January = 1" },
  87. { "ImageCreationTime/day",
  88. "The day of the month" },
  89. { "ImageCreationTime/hour",
  90. "The hour from 0 to 23" },
  91. { "ImageCreationTime/minute",
  92. "The minute from 0 to 59" },
  93. { "ImageCreationTime/second",
  94. "The second from 0 to 60 (60 = leap second)" },
  95. { "ImageModificationTime", "The time of the last image modification" },
  96. { "ImageModificationTime/year",
  97. "The full year (e.g., 1967, not 67)" },
  98. { "ImageModificationTime/month",
  99. "The month, with January = 1" },
  100. { "ImageModificationTime/day",
  101. "The day of the month" },
  102. { "ImageModificationTime/hour",
  103. "The hour from 0 to 23" },
  104. { "ImageModificationTime/minute",
  105. "The minute from 0 to 59" },
  106. { "ImageModificationTime/second",
  107. "The second from 0 to 60 (60 = leap second)" },
  108. { "Text", "Text information" },
  109. { "TextEntry", "A text entry"},
  110. { "TextEntry/keyword", "A keyword associated with the text entry" },
  111. { "TextEntry/value", "the text entry" },
  112. { "TextEntry/language", "The language of the text" },
  113. { "TextEntry/encoding", "The encoding of the text" },
  114. { "TextEntry/compression", "The method used to compress the text" },
  115. { "Transparency", "Transparency information" },
  116. { "Alpha", "The type of alpha information contained in the image" },
  117. { "TransparentIndex", "A palette index to be treated as transparent" },
  118. { "TransparentColor", "An RGB color to be treated as transparent" },
  119. { "TransparentColor/red",
  120. "The red channel of the transparent color" },
  121. { "TransparentColor/green",
  122. "The green channel of the transparent color" },
  123. { "TransparentColor/blue",
  124. "The blue channel of the transparent color" },
  125. { "TileTransparencies", "A list of completely transparent tiles" },
  126. { "TransparentTile", "The index of a completely transparent tile" },
  127. { "TransparentTile/x", "The tile's X index" },
  128. { "TransparentTile/y", "The tile's Y index" },
  129. { "TileOpacities", "A list of completely opaque tiles" },
  130. { "OpaqueTile", "The index of a completely opaque tile" },
  131. { "OpaqueTile/x", "The tile's X index" },
  132. { "OpaqueTile/y", "The tile's Y index" },
  133. };
  134. public StandardMetadataFormatResources() {}
  135. public Object[][] getContents() {
  136. return contents;
  137. }
  138. }