Bug #13377: image copyresampled doesn't use srcx and srcy
| From: | tai at projectsomewhere dot com | Date: | Fri, 21 Sep 2001 16:19:30 +0000 |
| Subject: | Bug #13377: image copyresampled doesn't use srcx and srcy | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66271@lists.php.net to get a copy of this message | ||
From: tai@projectsomewhere.com
Operating system: Linux and win98
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: image copyresampled doesn't use srcx and srcy
imagecopyresampled always uses the 0, 0 as the srcx and srcy. it should use
a specified x and y like imagecopyresized.
I've setup an example to demonstrate, you can find it at:
http://www.triptosomewhere.com/sizing.php
source is included there.
also, the select box which should let me choose which type of bug this is
only has one option ( -Please Select- ), so apologies if this doesn't go
directly to the correct place.
Cheers
Tai :)
below is a snip of phpinfo.
'./configure' '--with-mysql' '--with-apache=../apache_1.3.20'
'--enable-track-vars' '--with-xml' '--enable-memory-limit=yes'
'--enable-bcmath' '--with-gd=../gd-2.0.1' '--enable-gd-native-tt'
'--enable-gd-imgstrttf' '--with-gdbm=/usr/include' '--enable-calendar'
'--with-png-dir=/usr/lib' '--with-zlib-dir=/usr/include'
'--with-freetype-dir=/usr/local/include/freetype2'
'--with-jpeg-dir=/usr/local/lib' '--with-mcrypt' '--enable-trans-sid'
'--with-sablot=/usr/local/lib' '--with-imap'
'--enable-sablot-errors-descriptive'
--
Edit bug report at: http://bugs.php.net/?id=13377&edit=1