From f4a4bdef6391706195e6dda07f42c9fb56b3b134 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 2 Nov 2010 15:17:22 +0000 Subject: include typle type in output git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1359 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pngtopam.c | 2 +- doc/HISTORY | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c index f7767404..2f99d4ac 100644 --- a/converter/other/pngtopam.c +++ b/converter/other/pngtopam.c @@ -1277,7 +1277,7 @@ convertpng(FILE * const ifP, &bgColor); pam.size = sizeof(pam); - pam.len = PAM_STRUCT_SIZE(maxval); + pam.len = PAM_STRUCT_SIZE(tuple_type); pam.file = stdout; pam.plainformat = 0; pam.height = pngxP->info_ptr->height; diff --git a/doc/HISTORY b/doc/HISTORY index 7a09ebd6..785871cf 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,6 +6,9 @@ CHANGE HISTORY Not yet BJH Release 10.53.00 + pngtopam: include tuple type in output. Thanks + Thomas Henlich . + sunicontopnm: Understands Depth=8. Thanks Prophet of the Way . -- cgit 1.4.1