Skip to content

Commit

Permalink
%read-ppm-binary-stream in pnm.lisp should have make-8-bit-rgb-image …
Browse files Browse the repository at this point in the history
…not make-8-bit-grey-image

thanks for writing this great package!
  • Loading branch information
gaauto committed May 19, 2012
1 parent c789abd commit edbcb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pnm.lisp
Expand Up @@ -291,7 +291,7 @@
(height (parse-integer (read-number stream)))
(maxval (parse-integer (read-number stream))))
(if (< maxval 256)
(let ((img (make-8-bit-gray-image height width)))
(let ((img (make-8-bit-rgb-image height width)))
(loop for i below height
do
(loop for j below width
Expand Down

0 comments on commit edbcb09

Please sign in to comment.