Index: temp/trunk/data/class/SC_Image.php
===================================================================
--- temp/trunk/data/class/SC_Image.php	(revision 9283)
+++ temp/trunk/data/class/SC_Image.php	(revision 9284)
@@ -52,112 +52,4 @@
 	}
 
-	// ³ÈÂçÎ¨¤ò»ØÄê¤·¤Æ²èÁüÊÝÂ¸
-	function saveResizeImage($file, $to_w = 0, $to_h = 0, $header = false) {
-		// ¥Ç¥£¥ì¥¯¥È¥ê¼èÆÀ
-		$dir = dirname($file);
-		
-		// ¸µ²èÁü¥µ¥¤¥º¤ò¼èÆÀ
-		list($from_w, $from_h) = getimagesize($file);
-		
-		if($to_w > 0 or $to_h > 0){
-			// Éý¤Î½Ì¾®Î¨
-			($to_w < $from_w) ? $wscale = $to_w / $from_w :	$wscale = 1;
-			// ¹â¤µ¤Î½Ì¾®Î¨
-			($to_h < $from_h) ? $hscale = $to_h / $from_h :	$hscale = 1;
-			// ½Ì¾®Î¨¤Ï¾®¤µ¤¤¤Û¤¦¤Ë¤¢¤ï¤»¤ë
-			($wscale < $hscale) ? $scale = $wscale : $scale = $hscale;
-		}else{
-			$scale = 1;
-		}
-		
-		// °µ½ÌÎ¨»ØÄê
-		$zip_width = $from_w * $scale;
-		$zip_height = $from_h * $scale;
-		
-		// ¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¼èÆÀ	
-		$arrFileInfo = pathinfo($file);
-		$extension = $arrFileInfo["extension"];
-
-		// °ì°Õ¤ÊID¤ò¼èÆÀ¤¹¤ë¡£
-		$uniqname = date("mdHi") . "_" . uniqid("");
-
-		// ¥Õ¥¡¥¤¥ëÌ¾¡¢ÊÝÂ¸ÀèÀßÄê
-		$filename = $uniqname . "." . $extension;
-		$path = $dir . "/" . $filename;
-
-		// ¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ë¤è¤Ã¤Æ½èÍý¤òÊ¬¤±¤ë
-		if(is_dir($dir)) {
-			switch ($extension)	{
-				case "jpg":
-				case "jpeg":
-					//¸µ²èÁü
-					$src_im = ImageCreateFromJPEG($file);
-					
-					// °µ½ÌÀè²èÁü
-					$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
-					imagecopyresampled($dst_im, $src_im, 0, 0, 0, 0, $zip_width, $zip_height, $from_w, $from_h);
-					
-					// ²èÁü½ÐÎÏ
-					if($header){
-						header("Content-Type: image/jpeg");	
-						ImageJPEG($dst_im);
-					}else{
-						ImageJPEG($dst_im, $path);
-					}
-
-					break;
-				case "gif":
-					//¸µ²èÁü
-					$src_im = ImageCreateFromGIF($file);
-					
-					// °µ½ÌÀè²èÁü
-					//$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
-					$dst_im = ImageCreate($zip_width, $zip_height);	
-					//imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $from_w, $from_h);
-					imagecopyresized($dst_im, $src_im, 0, 0, 0, 0, $zip_width, $zip_height, $from_w, $from_h);
-
-					// ²èÁü½ÐÎÏ
-					if($header){
-						header("Content-Type: image/gif");
-						ImageGIF($dst_im);
-					}else{
-						ImageGIF($dst_im, $path);
-					}
-					break;
-				case "png":
-					//¸µ²èÁü
-					$src_im = ImageCreateFromPNG($file);
-					
-					// °µ½ÌÀè²èÁü
-					$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
-					imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $from_w, $from_h);
-
-					// ²èÁü½ÐÎÏ
-					if($header){
-						header("Content-Type: image/png");
-						ImagePNG($dst_im);
-					}else{
-						ImagePNG($dst_im, $path);
-					}
-					
-					break;
-				default:
-					print("³ÈÄ¥»Ò¤¬ÉÔÀµ¤Ç¤¹¡£");
-					$path = "";
-					break;
-			}
-			ImageDestroy($src_im);
-			ImageDestroy($dst_im);
-
-			if(!$header){
-				return $path;
-			}else{
-				return "";
-			}
-		}
-		
-		print("²èÁü¤ÎÊÝÂ¸¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£");
-		return "";
-	}
 }
 ?>
