Bug #13377 Updated: image copyresampled doesn't use srcx and srcy
| From: | sander@php.net | Date: | Wed, 24 Oct 2001 18:02:13 +0000 |
| Subject: | Bug #13377 Updated: image copyresampled doesn't use srcx and srcy | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68969@lists.php.net to get a copy of this message | ||
ID: 13377
Updated by: sander
Reported By: tai@projectsomewhere.com
Old Status: Open
Status: Duplicate
Bug Type: GD related
Operating System: Linux and win98
PHP Version: 4.0.6
New Comment:
Duplicate of 12780.
Previous Comments:
------------------------------------------------------------------------
[2001-09-21 12:19:30] tai@projectsomewhere.com
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 this bug report at http://bugs.php.net/?id=13377&edit=1