RE: Configuring GD for Windows: imagerotate function
| From: | Dillon, John | Date: | Fri, 24 Oct 2003 15:51:51 +0000 |
| Subject: | RE: Configuring GD for Windows: imagerotate function | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12118@lists.php.net to get a copy of this message | ||
Should I upgrade to 4.3.3 to fix this problem...:
Code lines:
line 161> $file=$img[$y];
line 162> $src_img=ImageCreateFromJPEG($file);
give error:
"imagecreatefromjpeg: Unable to open 'images/R0012448.JPG' for reading in
c:\program files\apache group\apache\htdocs\pics\apics3.php on line 162"
and it fails on:
$src_img=ImageRotate($src_img,90,0);
with 'unknown function'.
The manual says:
"
the function imagerotate() is available when php is built with bundled gd.
So this function won't be available when you (or your webhosting) build the
php gd support with external gd packages, either from the distribution CD or
from www.boutell.com.
built php using '--with-gd', not '--with-gd=DIR' to have this function
working.
This behaviour exist up to php-4.3.3.
"
I have php 4.3.28. So is it a solution to change to 4.3.3 as there is
something about "Upgraded the bundled GD library to version GD 2.0.15" in
the announcements: http://www.php.net/release_4_3_3.php.
Apache httpd.conf says:
LoadModule php4_module c:/PHP/php-4.3.2-Win32/sapi/php4apache.dll
php_gd2.dll (773KB 27/08/02) is installed.
Regards,
John
http://www.cantor.com
CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. If you
are not the named recipient please notify the sender and immediately delete it. You may not
disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else.
Copyright and any other intellectual property rights in its contents are the sole property of Cantor
Fitzgerald.
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does
not accept liability for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a hard-copy version.
Although we routinely screen for viruses, addressees should check this e-mail and any
attachments for viruses. We make no representation or warranty as to the absence of viruses in this
e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection
of our customers and business, we may monitor and read e-mails sent to and from our server(s).
For further important information, please read the Important Legal Information and Legal Statement
at http://www.cantor.com/legal_information.html