ID: 11813 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Open Bug Type: GD related Operating System: Win NT 4.0 PHP Version: 4.0.6 New Comment: Try setting the error_reporting level so that the script shows EVERYTHING. This may or may not help. Previous Comments: ------------------------------------------------------------------------ [2001-06-30 19:20:05] [EMAIL PROTECTED] A script that worked in PHP 4.0.4 no longer works in PHP 4.0.6 (with the php_gd.dll bundled with the Win32 binaries). Here's a snippet: $srcImgName = "SWD2.jpg"; $dstImgName = "gam_" . $srcImgName; $srcImage = ImageCreateFromJPEG( $srcImgName ); ImageGammaCorrect( $srcImage, 1.8, 2.2 ); ImageJPEG( $srcImage, $dstImgName ); No errors are produced, and the new image is created but it is identical to the original -- no gamma correction has occurred. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11813&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]