summaryrefslogtreecommitdiff
path: root/ext/standard/tests/image
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-01-17 18:51:30 +0000
committerMarcus Boerger <helly@php.net>2003-01-17 18:51:30 +0000
commit973c5fa1ec80bdfdcff56d4ca3109ec51c2306e4 (patch)
treedf5de36cdf2b609719e95004fd411465721a675e /ext/standard/tests/image
parent169eb85e0ab867fc101f0e8a95a5170d3efe8e70 (diff)
downloadphp-git-973c5fa1ec80bdfdcff56d4ca3109ec51c2306e4.tar.gz
fix jp2 detection and add testfile
Diffstat (limited to 'ext/standard/tests/image')
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type.phpt4
-rw-r--r--ext/standard/tests/image/test1pix.jp2bin0 -> 243 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/tests/image/image_type_to_mime_type.phpt b/ext/standard/tests/image/image_type_to_mime_type.phpt
index da882aae8d..94aabba0b9 100644
--- a/ext/standard/tests/image/image_type_to_mime_type.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type.phpt
@@ -25,9 +25,11 @@ image_type_to_mime_type()
var_dump($result);
?>
--EXPECT--
-array(10) {
+array(11) {
["test1pix.bmp"]=>
string(9) "image/bmp"
+ ["test1pix.jp2"]=>
+ string(9) "image/jp2"
["test1pix.jpc"]=>
string(24) "application/octet-stream"
["test1pix.jpg"]=>
diff --git a/ext/standard/tests/image/test1pix.jp2 b/ext/standard/tests/image/test1pix.jp2
new file mode 100644
index 0000000000..8a1172e10d
--- /dev/null
+++ b/ext/standard/tests/image/test1pix.jp2
Binary files differ