diff options
Diffstat (limited to 'ext/standard/image.c')
| -rw-r--r-- | ext/standard/image.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index 390680b0a..6fca6a28f 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.114.2.2 2006/01/01 12:50:14 sniper Exp $ */ +/* $Id: image.c,v 1.114.2.2.2.2 2006/06/25 21:08:28 bjori Exp $ */ #include "php.h" #include <stdio.h> @@ -1165,6 +1165,10 @@ PHP_FUNCTION(image_type_to_extension) RETURN_STRING(".jpc" + !inc_dot, 1); case IMAGE_FILETYPE_JP2: RETURN_STRING(".jp2" + !inc_dot, 1); + case IMAGE_FILETYPE_JPX: + RETURN_STRING(".jpx" + !inc_dot, 1); + case IMAGE_FILETYPE_JB2: + RETURN_STRING(".jb2" + !inc_dot, 1); case IMAGE_FILETYPE_XBM: RETURN_STRING(".xbm" + !inc_dot, 1); } |
