1. /*
  2. * @(#)BMPMetadataFormatResources.java 1.2 03/12/19 16:53:58
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.imageio.plugins.bmp;
  8. import java.util.ListResourceBundle;
  9. import javax.imageio.metadata.IIOMetadataFormat;
  10. import javax.imageio.metadata.IIOMetadataFormatImpl;
  11. public class BMPMetadataFormatResources extends ListResourceBundle {
  12. static final Object[][] contents = {
  13. // Node name, followed by description
  14. { "BMPVersion", "BMP version string" },
  15. { "Width", "The width of the image" },
  16. { "Height","The height of the image" },
  17. { "BitsPerPixel", "" },
  18. { "PixelsPerMeter", "Resolution in pixels per unit distance" },
  19. { "X", "Pixels Per Meter along X" },
  20. { "Y", "Pixels Per Meter along Y" },
  21. { "ColorsUsed",
  22. "Number of color indexes in the color table actually used" },
  23. { "ColorsImportant",
  24. "Number of color indexes considered important for display" },
  25. { "Mask",
  26. "Color masks; present for BI_BITFIELDS compression only"},
  27. { "Intent", "Rendering intent" },
  28. { "Palette", "The color palette" },
  29. { "Red", "Red Mask/Color Palette" },
  30. { "Green", "Green Mask/Color Palette/Gamma" },
  31. { "Blue", "Blue Mask/Color Palette/Gamma" },
  32. { "Alpha", "Alpha Mask/Color Palette/Gamma" },
  33. { "ColorSpaceType", "Color Space Type" },
  34. { "X", "The X coordinate of a point in XYZ color space" },
  35. { "Y", "The Y coordinate of a point in XYZ color space" },
  36. { "Z", "The Z coordinate of a point in XYZ color space" },
  37. };
  38. public BMPMetadataFormatResources() {}
  39. public Object[][] getContents() {
  40. return contents;
  41. }
  42. }