[PHP] Re: Imagecopyresampled creates black pictures

2006-10-31 Thread Martin Hochreiter
Tedd, may I ask you what GD library version and php version are you using? I am using: php5-5.1.2 gd-2.0.32-23 All Suse 10.1 machines using that versions and on all that machines I have the same problem ... lg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
tedd schrieb: At 9:52 AM +0100 10/30/06, Martin Hochreiter wrote: What is wrong here? Martin: Damn, that's a lot of code to do something pretty simple. I had no problems uploading and resampling your image with a lot less. Try using ob_start() and ob_end() to grab your image.: ob_

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
Ed Lazor schrieb: On Oct 30, 2006, at 12:52 AM, Martin Hochreiter wrote: Hi! I'm using imagecopyresampled to create thumbnails of various pictures. That works well except some pictures that imagecopyresampled converts to small black thumbnails (although it converts it correctly to a b

[PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
Hi! I'm using imagecopyresampled to create thumbnails of various pictures. That works well except some pictures that imagecopyresampled converts to small black thumbnails (although it converts it correctly to a bigger size) What is wrong here? lg Martin (Suse Linux 10.1, Apache 2.2, gd 2.0.32