Lines Matching refs:image_type_to_mime_type
424 function image_type_to_mime_type($imagetypeid) { function in getid3_lib
426 static $image_type_to_mime_type = array();
427 if (empty($image_type_to_mime_type)) {
428 $image_type_to_mime_type[1] = 'image/gif'; // GIF
429 $image_type_to_mime_type[2] = 'image/jpeg'; // JPEG
430 $image_type_to_mime_type[3] = 'image/png'; // PNG
431 $image_type_to_mime_type[4] = 'application/x-shockwave-flash'; // Flash
432 $image_type_to_mime_type[5] = 'image/psd'; // PSD
433 $image_type_to_mime_type[6] = 'image/bmp'; // BMP
434 $image_type_to_mime_type[7] = 'image/tiff'; // TIFF: little-endian (Intel)
435 $image_type_to_mime_type[8] = 'image/tiff'; // TIFF: big-endian (Motorola)
440 $image_type_to_mime_type[13] = 'application/x-shockwave-flash'; // Shockwave
441 $image_type_to_mime_type[14] = 'image/iff'; // IFF
443 …return (isset($image_type_to_mime_type[$imagetypeid]) ? $image_type_to_mime_type[$imagetypeid] : '…