|
Posted by srm on 05/24/05 17:57
Ron Eggler @ work wrote:
> srm wrote:
>> Ron Eggler wrote:
>>
>>> Hi,
>>>
>>> I'm creating thumbnails by following code. it works fine but the
>>> created thumbnails have weird colors, not like the original, why?:
>>
>> I had this problem when using the GD library. Switched to GD2 and it
>> went away. GD2 uses some slightly different functions that use
>> TrueColor.
>
> so I just have to install GD2 from
> http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
> and the Problem should be away?
> Would be great if it was that easy :)
> I'm at work now, that's ehy I can't test it...:( (on our firewall the
> SSH-Port[22] is closed :( )
Well my systems (local and hosted sharing) had GD2 already installed. But
you have to use different functions - eg, imagecopyresampled instead of
imagecopyresized and imagecreatetruecolor instead of imagecreate.
--
@+
Navigation:
[Reply to this message]
|