웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이미지 정보표시(EXIF) 영문을 한글로
2008.11.23 18:41
이미지정보 표시를 먼저 설치 하세요
http://www.zeroboard.com/?mid=zbxe_pds_prog_addon&search_target=title&search_keyword=exif&document_srl=15942469
이미지정보 표시를 영문을 한글로만 한것입니다.
참고사이트(http://www.slrclub.com) 이미지 정보표시 이런식으로 어케 안되는건가..쿨럭...;
http://www.zeroboard.com/?mid=zbxe_pds_prog_addon&search_target=title&search_keyword=exif&document_srl=15942469
이미지정보 표시를 영문을 한글로만 한것입니다.
참고사이트(http://www.slrclub.com) 이미지 정보표시 이런식으로 어케 안되는건가..쿨럭...;
/* if($exif_data['make']) array_push($exif_info,'모 델 명: '. $exif_data['make']); */ if($exif_data['model']) array_push($exif_info,'모 델 명: '. $exif_data['model']); if($exif_data['dateTimeDigitized']) array_push($exif_info,'촬영일자: '.$exif_data['dateTimeDigitized']); if($exif_data['flashUsed']) array_push($exif_info, '스트로보: '.$exif_data['flashUsed']); if($exif_data['isoEquiv']) array_push($exif_info, '감 도: '.$exif_data['isoEquiv']); if($exif_data['exposure']) array_push($exif_info,'노출방식: '. $exif_data['exposure']); if($exif_data['meteringMode']) array_push($exif_info, '측광방식: '.$exif_data['meteringMode']); if($exif_data['whiteBalance']) array_push($exif_info,'노출모드: '. $exif_data['whiteBalance']); if($exif_data['exposureTime']) array_push($exif_info,'노출시간: '. $exif_data['exposureTime']).'sec'; if($exif_data['fnumber']) array_push($exif_info,'조리개값: '. strtoupper($exif_data['fnumber'])); if($exif_data['maxaperturevalue']) array_push($exif_info, strtoupper(str_replace(' ', '', $exif_data['maxaperturevalue']))); if($exif_data['exposureBias']) array_push($exif_info,'+ '+ '노출보정: '. $exif_data['exposureBias']); if($exif_data['focalLength']) array_push($exif_info,'초점거리: '. str_replace(' ', '', $exif_data['focalLength']).'mm'); if($exif_data['flength35mm']) array_push($exif_info, '35mm환산: '+ '.$exif_data['flength35mm'].'mm'); $return_exif = ($exif_info)? '<span style=" Display: block; border: 1px solid #fcfcfc; padding: 18px; margin-top: 10px; background:#F4F4F4; font:9pt 돋움; color:#3B96C0; font-weight:bold; border-bottom:1px dashed #a7a491; border-top:1px dashed #a7a491; border-left:1px dashed #a7a491; border-right:1px dashed #a7a491;line-height:140%;">'.implode($separator, $exif_info).'</span>'+ ':NULL; return $return_exif; }
case TAG_METERING_MODE: $tmp = (int) $this->ConvertAnyFormat($ValuePtr, $Format); $tmpArr = array("2"=>"중점평균","3"=>"스팟","5"=>"다분할"); $this->ImageInfo['h']["meteringMode"] = (isset($tmpArr["$tmp"]) ? $tmpArr["$tmp"] : "평균"); break; case TAG_EXPOSURE_PROGRAM: $tmp = (int) $this->ConvertAnyFormat($ValuePtr, $Format); $tmpArr = array("2"=>"프로그램(자동)","3"=>"조리개 우선 (반자동)","4"=>"셔터우선(반자동)"); $this->ImageInfo['h']["exposure"] = (isset($tmpArr["$tmp"]) ? $tmpArr["$tmp"] : "수동"); break;