<?php
/**
* »ñȡͼÏóÐÅÏ¢µÄº¯Êý
*
* Ò»¸öÈ«Ãæ»ñȡͼÏóÐÅÏ¢µÄº¯Êý
*
* @access public
* @param string $img ͼƬ·¾¶
* @return array
*/
function GetImageInfoVal($ImageInfo,$val_arr) {
$InfoVal = "δ֪";
foreach($val_arr as $name=>$val) {
if ($name==$ImageInfo) {
$InfoVal = &$val;
break;
}
}
return $InfoVal;
}
function GetImageInfo($img) {
$imgtype = array("", "GIF", "JPG", "PNG", "SWF", "PSD", "BMP", "TIFF(intel byte order)", "TIFF(motorola byte order)", "JPC", "JP2", "JPX", "JB2", "SWC", "IFF", "WBMP", "XBM");
$Orientation = array("", "top left side", "top right side", "bottom right side", "bottom left side", "left side top", "right side top", "right side bottom", "left side bottom");
$ResolutionUnit = array("", "", "Ó¢´ç", "ÀåÃ×");
$YCbCrPositioning = array("", "the center of pixel array", "the datum point");
$ExposureProgram = array("䶨Òå", "ÊÖ¶¯", "±ê×¼³ÌÐò", "¹âȦÏȾö", "¿ìÃÅÏȾö", "¾°ÉîÏȾö", "Ô˶¯Ä£Ê½", "ФÏñģʽ", "·ç¾°Ä£Ê½");
$MeteringMode_arr = array(
"0" => "δ֪",
"1" => "ƽ¾ù",
"2" => "ÖÐÑëÖصãƽ¾ù²â¹â",
"3" => "µã²â",
"4" => "·ÖÇø",
"5" => "ÆÀ¹À",
"6" => "¾Ö²¿",
"255" => "ÆäËû"
);
$Lightsource_arr = array(
"0" => "δ֪",
"1" => "ÈÕ¹â",
"2" => "Ó«¹âµÆ",
"3" => "ÎÙË¿µÆ",
"10" => "ÉÁ¹âµÆ",
"17" => "±ê×¼µÆ¹âA",
"18" => "±ê×¼µÆ¹âB",
&nbs
ÔõôÑùµÄÐéÄâÖ÷»úËãÊǺõÄÖ÷»úÄØ£¿Ò»°ãÀ´Ëµ£¬´ó¼Ò¹ºÂòµÄÐéÄâÖ÷»ú¶¼ÊÇasp ..net »òÕßphpµÄ¡£javaÐéÄâÖ÷»úÒ»°ã±È½ÏÉÙ¡£ÕâºÍjavaÐéÄâÖ÷»úµÄά»¤ÄѶȺͳɱ¾½Ï¸ßÓйء£¶øÇÒjava¶ÔÓÚÍøÕ¾ÓµÓÐÕߵļ¼ÊõÒªÇóÒ²¸ßÓÚaspºÍphp¡£ Ò»°ãÀ´Ëµ£¬Ðí¶ ......