PKM

Bitmaps suitable for output to the PKM format are generated by drawing to CMYK contone (with no alpha), and then halftoning down to give 1bpc cmyk.


\begin{lstlisting}
/*
fz_save_bitmap_as_pkm: Save a 4bpp cmyk bitmap as a PAM i...
...riter *fz_new_pkm_band_writer(fz_context *ctx, fz_output *out);
\end{lstlisting}