14.5 PBM
Bitmaps suitable for output to the PBM format are generated by drawing to
greyscale contone (with no alpha), and then halftoning down to monochrome.
/* fz_save_bitmap_as_pbm: Save a bitmap as a PBM image file. */ void fz_save_bitmap_as_pbm(fz_context *ctx, fz_bitmap *bitmap, char *filename); void fz_write_bitmap_as_pbm(fz_context *ctx, fz_output *out, fz_bitmap *bitmap); fz_band_writer *fz_new_pbm_band_writer(fz_context *ctx, fz_output *out);