#47757 [Opn->Csd]: JPG vs JPEG
| From: | pajoye@php.net | Date: | Tue, 24 Mar 2009 09:46:02 +0000 |
| Subject: | #47757 [Opn->Csd]: JPG vs JPEG | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-135045@lists.php.net to get a copy of this message | ||
ID: 47757
Updated by: pajoye@php.net
Reported By: frank at scriptzone dot nl
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Any
PHP Version: 5.2.9
-Assigned To:
+Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-03-24 09:35:19] frank at scriptzone dot nl
Description:
------------
I think inconsistent naming is quite annoying.
To compile GD with JPEG support you have to do something like
./configure --with-gd --with-jpeg-dir. However in phpinfo pages JPEG
support is displayed as "JPG Support enabled".
So basicly, when I actually successfully compiled GD with JPEG-support:
I thought it failed because I was looking for "JPEG" in phpinfo, and not
"JPG".
Not quite an essential bug, but perhaps worth fixing in the future.
Reproduce code:
---------------
'./configure' '--prefix=/usr' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-apxs2=/usr/sbin/apxs'
'--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli'
'--with-zlib-dir=/usr' '--enable-exif' '--enable-ftp'
'--enable-mbstring' '--enable-mbregex' '--enable-sockets'
'--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc'
'--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql'
'--with-mysqli=/usr/local/mysql/bin/mysql_config'
'--with-mysql=/usr/local/mysql' '--with-openssl' '--with-xmlrpc'
'--with-xsl=/usr' '--without-pear' --with-jpeg-dir=/usr/local/lib/
--with-gd
Expected result:
----------------
JPEG support
Actual result:
--------------
JPG support
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47757&edit=1