diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-06-17 13:22:27 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-17 13:25:22 +0100 |
commit | 5e5d9490984b1424751687fd6d96ef81d76180e5 (patch) | |
tree | 8fac588a6bce397d4acd86ebc2034833e5ce8acd /include | |
parent | f653eac3bac807f13ecba3e8463c4de3689da090 (diff) | |
download | mupdf-5e5d9490984b1424751687fd6d96ef81d76180e5.tar.xz |
Fix fz_write_pam code.
It was incorrectly missing the alpha in the header writing code.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/output-pnm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/output-pnm.h b/include/mupdf/fitz/output-pnm.h index 65d0f566..09cad4ef 100644 --- a/include/mupdf/fitz/output-pnm.h +++ b/include/mupdf/fitz/output-pnm.h @@ -23,7 +23,7 @@ void fz_save_pixmap_as_pam(fz_context *ctx, fz_pixmap *pixmap, char *filename); void fz_write_pixmap_as_pam(fz_context *ctx, fz_output *out, fz_pixmap *pixmap); void fz_write_pam_header(fz_context *ctx, fz_output *out, int w, int h, int n, int alpha); -void fz_write_pam_band(fz_context *ctx, fz_output *out, int w, int h, int n, int stride, int band_start, int bandheight, unsigned char *sp); +void fz_write_pam_band(fz_context *ctx, fz_output *out, int w, int h, int n, int alpha, int stride, int band_start, int bandheight, unsigned char *sp); /* fz_save_bitmap_as_pbm: Save a bitmap as a PBM image file. |