PixMapFile

Common ancestor for all subsequent image types. Implements a generic way to load/save images by providing generic load/save methods. Also, inheritance from this class allows descendant classes to have methods for working with images: indexing, assigning values ​​to pixels and accessing them without the need to create an object of the PixMapImage class to manipulate images.

Implementation Note: The specific loading method is already implemented by descendant classes by overriding the abstract loader/saver methods in their implementations.

Alias This

image

Convenient alias for working with PixMapFile same as PixMapImage

Members

Functions

image
PixMapImage image()

Get image object as PixMapImage object

image
void image(PixMapImage image)

Set image object as PixMapImage object

isBinaryFormat
bool isBinaryFormat()

Is raw format ?

isTextFormat
bool isTextFormat()

Is text format ?

load
void load(string filename)

Basic file loading procedure

loader
void loader()
Undocumented in source.
save
void save(string filename)

Basic file saving procedure

saver
void saver()
Undocumented in source.

Variables

_file
File _file;
Undocumented in source.
_header
PixMapFormat _header;
Undocumented in source.

Meta