Revision 2095
Added by darkviper almost 11 years ago
functions.php | ||
---|---|---|
978 | 978 |
$source = imageCreateFromJpeg($source); |
979 | 979 |
$dst_img = ImageCreateTrueColor($thumb_w, $thumb_h); |
980 | 980 |
imagecopyresampled($dst_img,$source,0,0,0,0,$thumb_w,$thumb_h,$original_x,$original_y); |
981 |
imagejpeg($dst_img, $destination); |
|
981 |
imagejpeg($dst_img, $destination, 100);
|
|
982 | 982 |
// Clear memory |
983 | 983 |
imagedestroy($dst_img); |
984 | 984 |
imagedestroy($source); |
Also available in: Unified diff
! /functions::make_thumb() set JPG-compression to 100%
! /database::showError() output text corrected
! ../captcha.php::call_captcha() imagesize corected
! droplet >> [[SiteModified]] recoded
! droplet >> [[ModifiedWhen]] recoded
! install/index length of password restricted to 30 chars