Date: 08/15/01
- Next message: tollerson <email protected>: "[PHP-DEV] Bug #12772 Updated: gd functions saving jpgs in blue/black/white/grey"
- Previous message: andy <email protected>: "[PHP-DEV] Bug #12774: phpinfo()'s "Build Date" should show the time as well."
- In reply to: tollerson <email protected>: "[PHP-DEV] Bug #12772: gd functions saving jpgs in blue/black/white/grey"
- Next in thread: tollerson <email protected>: "[PHP-DEV] Bug #12772 Updated: gd functions saving jpgs in blue/black/white/grey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12772
Updated by: sniper
Reported By: tollerson <email protected>
Old Status: Open
Status: Bogus
Bug Type: GD related
Operating System: w2k/NT 4.0
PHP Version: 4.0.6
New Comment:
Not a bug. See #11976 (last comment by Rasmus)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-15 16:38:19] tollerson <email protected>
I tested this and found the same problem is also happening with WinNT 4.0
------------------------------------------------------------------------
[2001-08-15 16:17:54] tollerson <email protected>
(using IIS 5.0)
I upgraded php 4.0.4 to 4.0.6. I had these lines in my code to resize images:
$im2 = ImageCreate($twidth,$theight) or die("couldn't create image");
ImageCopyResized($im2,$im,0,0,0,0,$twidth,$theight,$width,$height);
ImageJpeg($im2, $dir_root.$files[$i]);
with the old 1.6 version of the gd dll, the resize worked fine, but the new version is saving these pictures in shades of blue and black and sometimes grey and black. Is this maybe an Indian issue? To test, I didn't touch the php version but simply replaced the new 2.0 gd dll with the old 1.6 gd dll and the pictures went back to full color when being resized.
Please let me know when this dll is fixed so I can implement it, for now I'm leaving the old gd dll in my extensions folder.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12772&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: tollerson <email protected>: "[PHP-DEV] Bug #12772 Updated: gd functions saving jpgs in blue/black/white/grey"
- Previous message: andy <email protected>: "[PHP-DEV] Bug #12774: phpinfo()'s "Build Date" should show the time as well."
- In reply to: tollerson <email protected>: "[PHP-DEV] Bug #12772: gd functions saving jpgs in blue/black/white/grey"
- Next in thread: tollerson <email protected>: "[PHP-DEV] Bug #12772 Updated: gd functions saving jpgs in blue/black/white/grey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

