This function isn't making the new image with the right dimensions.
# cvs diff ext/gd/libgd/gd.c
Index: ext/gd/libgd/gd.c
===================================================================
RCS file: /repository/php4/ext/gd/libgd/gd.c,v
retrieving revision 1.39
diff -u -r1.39 gd.c
--- ext/gd/libgd/gd.c 18 Dec 2002 21:13:21 -0000 1.39
+++ ext/gd/libgd/gd.c 10 Jan 2003 01:02:06 -0000
@@ -2492,10 +2492,10 @@
FuncPtr f;
if (src->trueColor) {
- dst = gdImageCreateTrueColor ( src->sx,src->sy);
+ dst = gdImageCreateTrueColor (src->sy, src->sx);
f = gdImageGetTrueColorPixel;
} else {
- dst = gdImageCreate (src->sx, src->sy);
+ dst = gdImageCreate (src->sy, src->sx);
f = gdImageGetPixel;
}
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php