Changeset 9271 for temp/trunk/data
- Timestamp:
- 2006/11/28 10:21:42 (20 years ago)
- Location:
- temp/trunk/data
- Files:
-
- 2 edited
-
class/SC_UploadFile.php (modified) (1 diff)
-
lib/gdthumb.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_UploadFile.php
r9269 r9271 306 306 $path = $this->makeThumb($filepath, $to_w, $to_h); 307 307 308 //$path = $objImage->saveResizeImage($filepath, $to_w, $to_h);309 310 308 // ¥Õ¥¡¥¤¥ë̾¤À¤±ÊÖ¤¹ 311 309 return basename($path); -
temp/trunk/data/lib/gdthumb.php
r9270 r9271 135 135 imagecolortransparent ($dst_im, $transparent); 136 136 } 137 imagecopyresized($dst_im, $src_im, 0, 0, 0, 0, $re_size[0], $re_size[1], $size[0], $size[1]);137 $imageresize($dst_im, $src_im, 0, 0, 0, 0, $re_size[0], $re_size[1], $size[0], $size[1]); 138 138 139 139 if(function_exists("imagegif")) { … … 171 171 $src_im = imageCreateFromJpeg($path); 172 172 $dst_im = $imagecreate($re_size[0], $re_size[1]); 173 //imagecopyresized( $dst_im, $src_im, 0, 0, 0, 0, $re_size[0], $re_size[1], $size[0], $size[1]);174 173 $imageresize( $dst_im, $src_im, 0, 0, 0, 0, $re_size[0], $re_size[1], $size[0], $size[1]); 175 174
Note: See TracChangeset
for help on using the changeset viewer.
