Chapter 29
Colorspace Internals

In section 10.2 Colorspaces, we were introduced to the basic Colorspaces available within MuPDF. Here we describe how they work internally, and how new colorspaces can be implemented by document handler authors.

Colorspaces are complicated slightly by the need to cope with both ICC-enabled and ICC-disabled workflows.

 29.1 Non ICC-based Colorspaces
 29.2 ICC-based colorspaces
 29.3 Calibrated Colorspaces