14.8 PSD
The PSD format is used by photoshop. It is especially useful as it allows the inclusion
of large numbers of spot colors, together with their ‘equivalent color’ information.
This means it is the format of choice for outputting color correct renders with
spot colors and correct overprint processing. PSD files can be written with
grayscale, RGB or CMYK pixmaps, plus optional spots, with or without
alpha.
/* fz_save_pixmap_as_psd: Save a pixmap as a PSD image file. */ void fz_save_pixmap_as_psd(fz_context *ctx, fz_pixmap *pixmap, const char *filename); /* Write a pixmap to an output stream in PSD format. */ void fz_write_pixmap_as_psd(fz_context *ctx, fz_output *out, const fz_pixmap *pixmap); /* fz_new_psd_band_writer: Obtain a fz_band_writer instance for producing PSD output. */ fz_band_writer *fz_new_psd_band_writer(fz_context *ctx, fz_output *out);