From a6c1b4a9822846b3368a2e39649e03a1eb859532 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 29 Mar 2015 01:06:17 +0000 Subject: Produce raw format instead of plain by default git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2427 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- doc/HISTORY | 2 ++ editor/specialty/pgmmorphconv.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/HISTORY b/doc/HISTORY index cd005601..c55aee65 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -21,6 +21,8 @@ not yet BJH Release 10.70.00 pgmmorphconv: add -gradient. Thanks Michael Haardt . + pgmmorphconv: fix bug: always produces PGM Plain format. + pamtilt: fix bug: unconditional crash. Broken in Netpbm 10.63 (June 2013). diff --git a/editor/specialty/pgmmorphconv.c b/editor/specialty/pgmmorphconv.c index e2572081..4479471a 100644 --- a/editor/specialty/pgmmorphconv.c +++ b/editor/specialty/pgmmorphconv.c @@ -404,7 +404,7 @@ main(int argc, const char ** argv) { if (templateCount == 0) pm_error( "The template was empty!" ); - pgm_writepgm(stdout, outputImage, cols, rows, maxval, 1); + pgm_writepgm(stdout, outputImage, cols, rows, maxval, 0); pgm_freearray(outputImage, rows); pgm_freearray(inputImage, rows); -- cgit 1.4.1