Re: [PHP] Imagecopyresampled creates black pictures
- From: linuxbox@xxxxxxxxxx (Martin Hochreiter)
- Date: Tue, 31 Oct 2006 07:26:35 +0100
tedd schrieb:
At 9:52 AM +0100 10/30/06, Martin Hochreiter wrote:"Damn, that's a lot of code to do something pretty simple"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_start(); imagejpeg($new,$dir.'view/'.$name,85);
ob_end_clean();
hth's
tedd
.... i am not a php professional - just hacking around to get
things run ...
Ok, thank you for your code - unfortunately the result is the same
(I added the picture as attachement)
Maybe php is not responsible for that - should I try another GD library
version or image Magik version?
- References:
- Imagecopyresampled creates black pictures
- From: Martin Hochreiter
- Re: [PHP] Imagecopyresampled creates black pictures
- From: tedd
- Imagecopyresampled creates black pictures
- Prev by Date: Re: [PHP] Decide witch table within a union
- Next by Date: Stupid question of the day (Editing text file in $HOME via web)
- Previous by thread: Re: [PHP] Imagecopyresampled creates black pictures
- Next by thread: PHP Search Engine - Synonyms
- Index(es):