bug in xbm reading
[email protected] (Dr. Michael Maaßen) Wed, 08 Oct 2008 11:52:03 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <op.uio9o1g2cqcr1r@micky> |
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
[email protected]