Changeset 9105 for temp/trunk/data


Ignore:
Timestamp:
2006/11/27 11:26:22 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_Image.php

    r9104 r9105  
    6464        $zip_height = $src_h * $zip_scale; 
    6565         
    66          
    67         $src_im = ImageCreateFromJPEG($file);//¸µ²èÁü 
     66        //¸µ²èÁü 
     67        $src_im = ImageCreateFromJPEG($file); 
    6868         
    6969        // °µ½ÌÀè²èÁü 
     
    7171        imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $src_w, $src_h); 
    7272 
     73        // ¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¼èÆÀ  
     74        $arrFileInfo = pathinfo($file); 
     75        $extension = $arrFileInfo["extension"]; 
     76 
    7377        // °ì°Õ¤ÊID¤ò¼èÆÀ¤¹¤ë¡£ 
    7478        $uniqname = date("mdHi") . "_" . uniqid(""); 
    7579 
    76         // ¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¼èÆÀ      
    77         $arrFileInfo = pathinfo($file); 
    78         $extension = $arrFileInfo["extension"]; 
    79          
    8080        // ¥Õ¥¡¥¤¥ë̾¡¢ÊݸÀèÀßÄê 
    8181        $filename = $uniqname . "." . $extension; 
    8282        $path = $dir . "/" . $filename; 
    83          
     83 
    8484        // ¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ë¤è¤Ã¤Æ½èÍý¤òʬ¤±¤ë 
    8585        if(is_dir($dir)) { 
Note: See TracChangeset for help on using the changeset viewer.