BTW, the IMAGETYPE_* constants are not defined in the php4/ext/gd source files, but instead in ext/standard/image.c
What I do not understand is why there are IMG_* comnstants from the bundled gd lib, and similar IMAGETYPE_* constants from the builtin image functions (from image.c)? BTW, there are other IMG_* constants that do not relate to the image type. And if consistency is needed, perhaps the *JPG constants must be removed. --- [EMAIL PROTECTED] wrote: > It's now common to use JPEG instead of JPG as it is > in every parts of the > manual... > > Regards. > M.CHAILLAN Nicolas > [EMAIL PROTECTED] > www.WorldAKT.com Hébergement de sites internets. > > ----- Original Message ----- > From: "Jesus M. Castagnetto" > <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 9:04 PM > Subject: Re: [PHP-DOC] #21631 [Opn->Csd]: > imagetype_jpg should be > imagetype_jpeg in documentation > > > > Hmm, > > > > In php4/ext/gd/gd.c, there are *JPG and *JPEG > > constants that resolve to the same integer (a long > > really), similarly php4/ext/gd/php_gd.h has *JPG > > constants defined internally. So the bug report is > > bogus to begin with, or I am missing something? > > > > > > --- [EMAIL PROTECTED] wrote: > > > ID: 21631 > > > Updated by: [EMAIL PROTECTED] > > > Reported By: [EMAIL PROTECTED] > > > -Status: Open > > > +Status: Closed > > > Bug Type: Documentation problem > > > Operating System: linux 2.4.20 > > > PHP Version: 4.3.0 > > > New Comment: > > > > > > This has been fixed. > > > > > > Btw search works fine for me: > > > > > > http://www.php.net/search.php?show=manual&lang=en&pattern=IMAGETYPE_JPG > > > > > > It returns image.xml and exif-imagetype.xml > which > > > was where > > > IMAGETYPE_JPG was used... > > > > > > > > > Previous Comments: > > > > > > ------------------------------------------------------------------------ > > > > > > [2003-01-14 04:29:12] [EMAIL PROTECTED] > > > > > > Search for image in the function list, check the > > > constants there, then, > > > as a secondary bug, figure out why a search of > the > > > documentation and a > > > search of the whole site for imagetype_jpg fails > to > > > find what you can > > > see on the screen!! > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [2003-01-14 04:25:42] [EMAIL PROTECTED] > > > > > > It looks we were using IMAGETYPE_JPG and not > > > IMAGETYPE_JPEG in the > > > documentation. But I've fixed that already few > days > > > ago, Manual not > > > updated. > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [2003-01-14 04:11:11] [EMAIL PROTECTED] > > > > > > Not enough information was provided for us to be > > > able > > > to handle this bug. Please re-read the > instructions > > > at > > > http://bugs.php.net/how-to-report.php > > > > > > If you can provide more information, feel free > to > > > add it > > > to this bug and change the status back to > "Open". > > > > > > Thank you for your interest in PHP. > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [2003-01-14 04:09:01] [EMAIL PROTECTED] > > > > > > Needs a global find and replace in the image > docs. > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > -- > > > Edit this bug report at > > > http://bugs.php.net/?id=21631&edit=1 > > > > > > > > > -- > > > PHP Documentation Mailing List > (http://www.php.net/) > > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > > > > > > ===== > > --- Jesus M. Castagnetto <[EMAIL PROTECTED]> > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > > http://mailplus.yahoo.com > ===== --- Jesus M. Castagnetto <[EMAIL PROTECTED]> __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php