# OHOS::Image ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Represents basic image attributes, including the image type and path. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
Image () |
A constructor used to create an Image instance. You can use this constructor when a component requires a map. |
~Image () |
A destructor used to delete the Image instance. |
GetImageInfo () const |
const ImageInfo * |
GetPath () const |
|
GetHeader (ImageHeader &header) const |
Obtains the basic image information, including the image format, width, and height. |
GetSrcType () const |
|
SetSrc (const char *src) |
|
operator new (size_t size) |
|
operator delete (void *p) |