- attached xbmbug.c
XBM reading fails with printed error.
Issue #109
new
[Update: an error in the test program was making it fail and I stupidly typed in the error text before confirming it against the original error. Sorry.]
Reading in an xbm file with the attached image will fail with the message:
GD Warning: EOF before image was complete
gdImageCreateFromXbm() will return NULL.
This does not happen with all images but I was able to reproduce it with two, including one I found in the wild.
Comments (4)
-
reporter -
reporter - attached xbmbug.c
-
reporter - attached img-ref.xbm
Updated reference image.
-
reporter - edited description
- attached xbmbug.c
- Log in to comment
The test program.