From ebc4d1a86965af0a0d4e98094f76ca541d324ae8 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 26 Jul 2022 16:38:27 +0000 Subject: comments git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4368 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpnm3.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libpnm3.c') diff --git a/lib/libpnm3.c b/lib/libpnm3.c index 3970c734..ba408bd1 100644 --- a/lib/libpnm3.c +++ b/lib/libpnm3.c @@ -106,10 +106,14 @@ pnm_backgroundxelrow(xel * const xelrow, int const cols, xelval const maxval, int const format) { +/*---------------------------------------------------------------------------- + Guess a good background color for an image that contains row 'xelrow' + (probably top or bottom edge). + 'cols', 'maxval', and 'format' describe 'xelrow'. +-----------------------------------------------------------------------------*/ xel bgxel, l, r; - /* Guess a good background value. */ l = xelrow[0]; r = xelrow[cols-1]; -- cgit 1.4.1