Revert "pnm: remove nonsense code"
Breaks decoding pgms with 256 < maxval < 65535. Found-by: Carl Eugen Hoyos <cehoyos@ag.or.at>. This reverts commit a0348d09.
Showing
Please
register
or
sign in
to comment
Breaks decoding pgms with 256 < maxval < 65535. Found-by: Carl Eugen Hoyos <cehoyos@ag.or.at>. This reverts commit a0348d09.