Class DataImage

java.lang.Object
ghidra.program.model.data.DataImage

public abstract class DataImage extends Object
  • Constructor Details

    • DataImage

      public DataImage()
  • Method Details

    • getImageIcon

      public abstract ImageIcon getImageIcon()
      Return image icon
      Returns:
      image object
    • getImageFileType

      public abstract String getImageFileType()
      Returns the type of the underlying image data, suitable for ImageIO.write(java.awt.image.RenderedImage, String, java.io.File)'s formatName parameter.
      Returns:
      String image format type, ie. "png", "gif", "bmp"
    • setDescription

      public void setDescription(String description)
      Set string description (returned by toString)
      Parameters:
      description -
    • toString

      public String toString()
      Overrides:
      toString in class Object