Changeset 6454
- Timestamp:
- 12/21/2007 09:23:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r6439 r6454 36 36 37 37 // preserve PNG transparency 38 if ( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' )) {39 imagealphablending( $thumbnail, false);40 imagesavealpha( $thumbnail,true);41 } 38 if ( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' ) ) { 39 imagealphablending( $thumbnail, false); 40 imagesavealpha( $thumbnail, true); 41 } 42 42 43 43 @ imagecopyresampled( $thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $sourceImageWidth, $sourceImageHeight );
Note: See TracChangeset
for help on using the changeset viewer.