Class PngDescriptor

java.lang.Object
com.drew.metadata.TagDescriptor<PngDirectory>
com.drew.metadata.png.PngDescriptor

public class PngDescriptor extends TagDescriptor<PngDirectory>
Author:
Drew Noakes https://drewnoakes.com
  • Constructor Details

    • PngDescriptor

      public PngDescriptor(PngDirectory directory)
  • 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<PngDirectory>
      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.
    • getColorTypeDescription

      public String getColorTypeDescription()
    • getCompressionTypeDescription

      public String getCompressionTypeDescription()
    • getFilterMethodDescription

      public String getFilterMethodDescription()
    • getInterlaceMethodDescription

      public String getInterlaceMethodDescription()
    • getPaletteHasTransparencyDescription

      public String getPaletteHasTransparencyDescription()
    • getIsSrgbColorSpaceDescription

      public String getIsSrgbColorSpaceDescription()
    • getUnitSpecifierDescription

      public String getUnitSpecifierDescription()
    • getTextualDataDescription

      public String getTextualDataDescription()
    • getBackgroundColorDescription

      public String getBackgroundColorDescription()