Class BmpHeaderDescriptor

java.lang.Object
com.drew.metadata.TagDescriptor<BmpHeaderDirectory>
com.drew.metadata.bmp.BmpHeaderDescriptor

public class BmpHeaderDescriptor extends TagDescriptor<BmpHeaderDirectory>
Author:
Drew Noakes https://drewnoakes.com, Nadahar
  • Constructor Details

  • Method Details

    • getDescription

      public String getDescription(int tagType)
      Description copied from class: TagDescriptor
      Returns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided by getString(tagType) will be returned.
      Overrides:
      getDescription in class TagDescriptor<BmpHeaderDirectory>
      Parameters:
      tagType - the tag to find a description for
      Returns:
      a description of the image's value for the specified tag, or null if the tag hasn't been defined.
    • getBitmapTypeDescription

      public String getBitmapTypeDescription()
    • getCompressionDescription

      public String getCompressionDescription()
    • getRenderingDescription

      public String getRenderingDescription()
    • getColorEncodingDescription

      public String getColorEncodingDescription()
    • getColorSpaceTypeDescription

      public String getColorSpaceTypeDescription()
    • getRenderingIntentDescription

      public String getRenderingIntentDescription()
    • formatHex

      public static String formatHex(Integer value, int digits)
    • formatHex

      public static String formatHex(int value, int digits)
    • formatHex

      public static String formatHex(Long value, int digits)
    • formatHex

      public static String formatHex(long value, int digits)
    • formatFixed1616

      public static String formatFixed1616(Integer value)
    • formatFixed1616

      public static String formatFixed1616(int value)
    • formatFixed1616

      public static String formatFixed1616(Long value)
    • formatFixed1616

      public static String formatFixed1616(long value)