136 |
case 'FlashMode': |
case 'FlashMode': |
137 |
switch($exif_value) { |
switch($exif_value) { |
138 |
case '0': |
case '0': |
139 |
array_push($exif_headers, 'Flash: Off'); |
array_push($exif_headers, 'Flash: Auto'); |
140 |
break; |
break; |
141 |
case '1': |
case '1': |
142 |
array_push($exif_headers, 'Flash: On'); |
array_push($exif_headers, 'Flash: On'); |
143 |
break; |
break; |
144 |
|
case '2': |
145 |
|
array_push($exif_headers, 'Flash: Off'); |
146 |
|
break; |
147 |
|
case '3': |
148 |
|
array_push($exif_headers, 'Flash: Red-Eye Reduction'); |
149 |
|
break; |
150 |
|
default: |
151 |
|
array_push($exif_headers, 'Flash: Unknown'); |
152 |
|
break; |
153 |
|
} |
154 |
|
break; |
155 |
|
case 'FocusMode': |
156 |
|
|
157 |
|
switch($exif_value) { |
158 |
|
case '0': |
159 |
|
array_push($exif_headers, 'Focus: C-AF/S-AF'); |
160 |
|
break; |
161 |
|
case '1': |
162 |
|
array_push($exif_headers, 'Focus: MF'); |
163 |
|
break; |
164 |
|
default: |
165 |
|
break; |
166 |
} |
} |
167 |
break; |
break; |
168 |
case 'ISOSpeedRatings'; |
case 'ISOSpeedRatings'; |
365 |
$resize_aspect = round(($new_width[1] / $src_image_sz[1])*100, 2); |
$resize_aspect = round(($new_width[1] / $src_image_sz[1])*100, 2); |
366 |
} |
} |
367 |
|
|
368 |
print "Quality: ".$global_var['image_sz']['default']['ql'] ." Resize Aspect: ". $resize_aspect ."%"; |
// DEBUG: print "Quality: ".$global_var['image_sz']['default']['ql'] ." Resize Aspect: ". $resize_aspect ."%"; |
369 |
|
|
370 |
if(!file_exists($cache_dir)) |
if(!file_exists($cache_dir)) |
371 |
mkdir($cache_dir,0777); |
mkdir($cache_dir,0777); |
372 |
|
|
612 |
echo <<<EOF |
echo <<<EOF |
613 |
<div id="copyright">\n |
<div id="copyright">\n |
614 |
{$global_var[str_msg][copyright]}<br />\n |
{$global_var[str_msg][copyright]}<br />\n |
615 |
<a href="">expose</a>\n <span style="font-style: italic;">\$Revision$</span>\n |
<span style="font-style: italic;">\$Revision$</span>\n |
616 |
</div>\n\n |
</div>\n\n |
617 |
</div>\n |
</div>\n |
618 |
</body>\n |
</body>\n |