[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] Imagecopyresampled creates black pictures
From: Martin Hochreiter <linuxbox () wavenet ! at>
Date: 2006-10-31 6:26:35
Message-ID: 4546EC9B.4030702 () wavenet ! at
[Download RAW message or body]
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_start(); imagejpeg($new,$dir.'view/'.$name,85);
> ob_end_clean();
>
> hth's
>
> tedd
>
"Damn, that's a lot of code to do something pretty simple"
... 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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic