1Pamfixtrunc User Manual(0) Pamfixtrunc User Manual(0)
2
3
4
6 pamfixtrunc - replaced by pamfix
7
8
10 This program is part of Netpbm(1).
11
12 pamfixtrunc was replaced in Netpbm 10.66 (March 2014) by pamfix(1).
13
14 pamfix with a -truncate option is the same thing as pamfixtrunc. But
15 pamfix has other options to repair other kinds of corruption.
16
17 Another change that came with Netpbm 10.66 is that an invalid sample
18 value (a value greater than the maxval the image declares in its
19 header) is considered by the common Netpbm image reading facility (in
20 libnetpbm) to be unreadable, which means the file is essentially trun‐
21 cated. In older Netpbm, the invalid sample value propagates to the
22 output in a program such as pamfixtrunc. Thus, in older Netpbm a file
23 with 100 rows and an invalid sample value in the 3rd row would pass
24 through pamfixtrunc unchanged. But in Netpbm 10.66, pamfix -truncate
25 with the same input would produce an output image with only 2 rows.
26 While it is not possible in 10.66 to cause pamfix to generate an
27 invalid Netpbm image, you can use -clip and -changemaxval options to
28 avoid truncating the file in a case like this.
29
30 You should not make any new use of pamfixtrunc and if you modify an
31 existing use, you should upgrade to pamfixtrunc. But note that if you
32 write a program that might have to be used with very old Netpbm, pam‐
33 fixtrunc is the only way to do that.
34
36 This manual page was generated by the Netpbm tool 'makeman' from HTML
37 source. The master documentation is at
38
39 http://netpbm.sourceforge.net/doc/pamfixtrunc.html
40
41netpbm documentation Pamfixtrunc User Manual(0)