diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2017-02-28 07:05:58 -0800 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2017-02-28 07:57:18 -0800 |
commit | 4a9394e6abc6b0107da4f42675bf35eb031fe068 (patch) | |
tree | 0a1605b2dbd4dfae35c9ed708f5d53cc52a1e5b1 /base/gxblend.c | |
parent | ff07b67892c201a0a16d983b05d121ac409b78a0 (diff) | |
download | ghostpdl-4a9394e6abc6b0107da4f42675bf35eb031fe068.tar.gz |
Fix DEPTH is RAW_DUMP_AS_PAM GRAYSCALE_ALPHA header
Diffstat (limited to 'base/gxblend.c')
-rw-r--r-- | base/gxblend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxblend.c b/base/gxblend.c index fa64de99c..9606d34ec 100644 --- a/base/gxblend.c +++ b/base/gxblend.c @@ -1385,7 +1385,7 @@ dump_raw_buffer(int num_rows, int width, int n_chan, int x; gs_sprintf(full_file_name,"%02d)%s.pam",global_index,filename); fid = gp_fopen(full_file_name,"wb"); - fprintf(fid, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE GRAYSCALE_ALPHA\nENDHDR\n", + fprintf(fid, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 2\nMAXVAL 255\nTUPLTYPE GRAYSCALE_ALPHA\nENDHDR\n", width, num_rows); for(y=0; y<num_rows; y++) for(x=0; x<width; x++) |