(pbm_load): Allow color values up to 65535.
authorJason Rumney <jasonr@gnu.org>
Fri, 28 Mar 2008 14:59:22 +0000 (14:59 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 28 Mar 2008 14:59:22 +0000 (14:59 +0000)
commitb9c89e11fbf44c471b60cd385d770597aea7c653
treeb8333df1ba136f1a2003be9d8644b5005bccab01
parent3ae8f8760f33ffd2c25f564214c9f1f5fd34c1a3
(pbm_load): Allow color values up to 65535.
Throw an error if max_color_idx is outside the supported range.
Report an error when image size is invalid.
Read two bytes at a time when raw images have max_color_idx above 255.
src/ChangeLog
src/image.c