Changeset 9276 for temp/trunk/data/lib


Ignore:
Timestamp:
2006/11/28 10:57:15 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/gdthumb.php

    r9275 r9276  
    126126                    $dst_im = $imagecreate($re_size[0], $re_size[1]); 
    127127                     
    128                     $transparent = imagecolortransparent($src_im); 
    129                     $colorstotal = imagecolorstotal ($src_im); 
     128//                  $transparent = imagecolortransparent($src_im); 
     129//                  $colorstotal = imagecolorstotal ($src_im); 
    130130                     
    131131                    $dst_im = imagecreate($re_size[0], $re_size[1]); 
    132 /*                  if (0 <= $transparent && $transparent < $colorstotal) { 
     132                    if (0 <= $transparent && $transparent < $colorstotal) { 
    133133                        imagepalettecopy ($dst_im, $src_im); 
    134134                        imagefill ($dst_im, 0, 0, $transparent); 
    135135                        imagecolortransparent ($dst_im, $transparent); 
    136136                    } 
    137 */                      $imageresize($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]); 
    138138 
    139139                    if(function_exists("imagegif")) { 
Note: See TracChangeset for help on using the changeset viewer.