OptionalbimgThe blit image representation of the image, if available.
OptionalpaletteThe palette associated with the image, if required.
The graphical buffer representation of the image.
The size of the image in characters.
StaticcreateCreate a new CCImage object from a blit image (BIMG) file/data.
The blit image to load (already unserialized)
The 0-indexed frame number to load (defaults to the first frame)
The newly loaded image
StaticcreateCreates a new CCImage object from an NFP file.
The NFP image data to load
The newly created image
StaticcreateCreates a new CCImage object from a pixel buffer.
The pixel data to load
The newly created image
A CCImage represents an image that can be displayed on screen.