Images support in core.

PRIMA has a rich set of operations and transformations applicable to 2D images. A Prima::Image class has the same parent class, Prima::Drawable, as a generic widget, allowing the same set of drawing operations. This is supported on images of arbitrary depth regardless of the current screen depth. On the other hand, PRIMA does not implement any drawing operations by itself, using the underlying system on-pixmap drawing mechanisms instead. This means that images are first transformed into a form most appropriate for drawing, and then, transparently for the user, transformed back. Thus, a certain reduction of the image quality is possible.

PRIMA can load and save images using many file formats. The exact list PRIMA core supports is defined at compile time, though a dynamic linking of the image file format drivers is supported.

Images can also be scaled and resampled.