pts / sam2p

raster (bitmap) image converter with smart PDF and PostScript (EPS) output
http://pts.50.hu/sam2p/
GNU General Public License v2.0
42 stars 16 forks source link

Fix calculation of row length in input-pnm.ci #44

Closed jknockel closed 6 years ago

jknockel commented 6 years ago

This fixes a bug where the row length calculation is wrong if xres is divisible by 4 but not by 8. The fixed bug is a regression introduced in https://github.com/pts/sam2p/commit/beea3bd8dd05a731fddfa447ff0bad19fe32c973 .

pts commented 6 years ago

Thank you for diagnosing and fixing this!