Package ghidra.program.model.data
Class DataImage
java.lang.Object
ghidra.program.model.data.DataImage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the type of the underlying image data, suitable forImageIO.write(java.awt.image.RenderedImage, String, java.io.File)
's formatName parameter.abstract ImageIcon
Return image iconvoid
setDescription
(String description) Set string description (returned by toString)toString()
-
Constructor Details
-
DataImage
public DataImage()
-
-
Method Details
-
getImageIcon
Return image icon- Returns:
- image object
-
getImageFileType
Returns the type of the underlying image data, suitable forImageIO.write(java.awt.image.RenderedImage, String, java.io.File)
's formatName parameter.- Returns:
- String image format type, ie. "png", "gif", "bmp"
-
setDescription
Set string description (returned by toString)- Parameters:
description
-
-
toString
-