PHP 忒聊
綴豖
ヶ輛
image_type_to_mime_type
(PHP 4 = 4.3.0)
Description
The image_type_to_mime_type() function will determine the Mime-Type for an IMAGETYPE constant.
瞰赽 1. image_type_to_mime_type (file)
?php header ("Content-type: ".image_type_to_mime_type (IMAGETYPE_PNG));?
蛁: This function does not require the GD image library.
See also getimagesize(), exif_imagetype(), exif_read_data() and exif_thumbnail().
綴豖
れ萸
ヶ輛
getimagesize
奻珨撰
image2wbmp