Changeset 9276 for temp/trunk/data/lib
- Timestamp:
- 2006/11/28 10:57:15 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/gdthumb.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/gdthumb.php
r9275 r9276 126 126 $dst_im = $imagecreate($re_size[0], $re_size[1]); 127 127 128 $transparent = imagecolortransparent($src_im);129 $colorstotal = imagecolorstotal ($src_im);128 // $transparent = imagecolortransparent($src_im); 129 // $colorstotal = imagecolorstotal ($src_im); 130 130 131 131 $dst_im = imagecreate($re_size[0], $re_size[1]); 132 /*if (0 <= $transparent && $transparent < $colorstotal) {132 if (0 <= $transparent && $transparent < $colorstotal) { 133 133 imagepalettecopy ($dst_im, $src_im); 134 134 imagefill ($dst_im, 0, 0, $transparent); 135 135 imagecolortransparent ($dst_im, $transparent); 136 136 } 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]); 138 138 139 139 if(function_exists("imagegif")) {
Note: See TracChangeset
for help on using the changeset viewer.
