diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-01-22 19:01:08 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-01-22 19:01:08 +0000 |
commit | 00e73ee5efa865643eaad76565c7375f3fa834be (patch) | |
tree | d2623539a08941402dc17f14d9183b50b8509e34 /other/pamendian.c | |
parent | 64f542175bd276397a333b73397ac3e2d7effaf3 (diff) | |
download | netpbm-mirror-00e73ee5efa865643eaad76565c7375f3fa834be.tar.gz netpbm-mirror-00e73ee5efa865643eaad76565c7375f3fa834be.tar.xz netpbm-mirror-00e73ee5efa865643eaad76565c7375f3fa834be.zip |
Release 10.86.28
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4254 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamendian.c')
-rw-r--r-- | other/pamendian.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/other/pamendian.c b/other/pamendian.c index d82ebd38..c24d9629 100644 --- a/other/pamendian.c +++ b/other/pamendian.c @@ -49,6 +49,8 @@ int main(int argc, char *argv[]) { intuplerow = pnm_allocpamrow(&inpam); outtuplerow = pnm_allocpamrow(&outpam); + inpam.maxval = 65535; + for (row = 0; row < inpam.height; row++) { unsigned int col; pnm_readpamrow(&inpam, intuplerow); |