Changeset 6858
- Timestamp:
- Apr 30, 2008, 4:13:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ebihara/prj_renew_OpenPNE_Img/webapp/lib/OpenPNE/Img.php
r6857 r6858 137 137 // サイズ指定がなく、かつ、形式変換しない場合(GDに変換する必要なし) 138 138 if (!$w && !$h && ($this->generator->getSourceFormat() == $this->generator->getOutputFormat())) { 139 $this-> create_cache_from_raw_img();139 $this->generator->createCacheFromRawImage($this->cache_fullpath, $this->cache_dir, $this->raw_img); 140 140 return true; 141 141 } … … 156 156 //キャッシュを生成 157 157 if ($output_img) { 158 $this-> create_cache($output_img);158 $this->generator->createCache($this->cache_fullpath, $this->cache_dir, $output_img); 159 159 } else { 160 $this-> create_cache_from_raw_img();160 $this->generator->createCacheFromRawImage($this->cache_fullpath, $this->cache_dir, $this->raw_img); 161 161 } 162 162 … … 252 252 253 253 /** 254 * キャッシュを作成する255 *256 * @access protected257 */258 function create_cache($output_gdimg)259 {260 $this->generator->createCache($this->cache_fullpath, $this->cache_dir, $output_gdimg);261 }262 263 /**264 * @access protected265 */266 function create_cache_from_raw_img()267 {268 $this->generator->createCacheFromRawImage($this->cache_fullpath, $this->cache_dir, $this->raw_img);269 }270 271 /**272 254 * ソースファイル名(拡張子からフォーマットも)設定 273 255 * @access protected
Note: See TracChangeset
for help on using the changeset viewer.