ID: 25593 Updated by: [EMAIL PROTECTED] Reported By: omegatron at comcast dot net -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: Windows PHP Version: 4.3.2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Works just fine for me using PHP 4.3.3. (creating GIFs does not and will not work) Previous Comments: ------------------------------------------------------------------------ [2003-09-19 00:15:48] omegatron at comcast dot net It does not get created. imagecreatefromgif is false even though gif read is enabled. ------------------------------------------------------------------------ [2003-09-18 23:42:16] robert at profundis dot se > Sorry it is imagecreatefromgif THIS FAILS Does imagecreatefromgif() fail? Not sure, but if it wasn't supported, I think you'd get an error about that the function doesn't exist. Exactly what error do you get? Is an image created, but empty? Does the function return false? This function works fine on several of my installations, including 4.3.2 and 4.3.3. > imagegif is a temp fix to let one know gif is not > supported and can't be used. I'm not sure what you mean here. imagegif() will not be supported if it's only "READ ENABLED", because it encodes gifs. Even if imagegif() isn't supported, you should be able to use imagecreatefromgif(), as it only decodes. ------------------------------------------------------------------------ [2003-09-18 20:54:37] omegatron at comcast dot net Sorry it is imagecreatefromgif THIS FAILS imagegif is a temp fix to let one know gif is not supported and can't be used. ------------------------------------------------------------------------ [2003-09-18 20:22:54] robert at profundis dot se > They are simply reading the gif and then they convert to > jpg. What is happening is in the windows binaries PHP > reports GD is compiled with gif read enabled but in > reality it is not. I asked what operations they performed and what error message was reported, if any. Which PHP function can't handle gifs? I can certainly read gifs with my installation, currently 4.3.3RC2 pre-compiled Windows binary. This works fine: <?php $imgfile = 'some.gif'; $img = imagecreatefromgif($imgfile); imagepng($img); ?> ------------------------------------------------------------------------ [2003-09-18 19:39:46] omegatron at comcast dot net Hey I do not have thousand dollars to be a C++ compiler. This has nothing to do with the programs. They are simply reading the gif and then they convert to jpg. What is happening is in the windows binaries PHP reports GD is compiled with gif read enabled but in reality it is not. I can take the same program and run on a unix machine with gd gif read enabled and it works. There has been extensive testing and it comes back to the windows binaries not compiling right. They report gif read and ttf are enabled but they are not. If I had the ability to compile my own windows version I would, ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25593 -- Edit this bug report at http://bugs.php.net/?id=25593&edit=1