bug in xbm reading
| From: | Dr. Michael Maaßen | Date: | Wed, 08 Oct 2008 09:52:03 +0000 |
| Subject: | bug in xbm reading | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-479@lists.php.net to get a copy of this message | ||
Hi,
I've gd 2.0.35 from tarball, and I've got problem reading xbm files with width not
a multiple of 8.
So I changed gd.c:2856 to
bytes = (((w+7)/8) * h ) + 1;Now it works. You are free to include this change in oficial version. Regards, Mic -- Dr. Michael Maaßen m2ic@gmx.net