Load the image from the specified path.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
#include <Geode/cocos/platform/CCImage.h>
Load the image from the specified path.
strPath
imageType
Load image from stream buffer.
pBuffer
nLength
nWidth,
⚠️ kFmtRawData only supports RGBA8888.
Create image with specified string.
pText
nWidth
nHeight
eAlignMask
pFontName
nSize
Save CCImage data to the specified file, with specified format.
pszFilePath
bIsToRGB