PDA

View Full Version : Lib for PHP ?


dahu
02-02-2001, 04:50 AM
Please HR, add some Lib to PHP: GDlib, and may be CURL . I will understand that there is noway to install CURL but GDLib is stable and great, no ?

Jordie
02-03-2001, 07:52 AM
I was just about to ask them to install GDLib, HR can you please add it? :)

Randy
02-03-2001, 09:04 AM
It is installed, unless you're on a different server than me. GD 1.8.4 is installed on my server.

I really wanted JPEG support, but they couldn't figure out how to install it :(

To find out info the version of php on your server, put this in a .php file by itself...
<? phpinfo(INFO_ALL); ?>

That should give you all sorts of info.

dahu
02-03-2001, 09:22 AM
<i> Hello,
There is a strict software freeze on our servers for certain systems, so php can only be
modified to upgrade to a newer version. Sorry.

John Reyes
HostRocket.com Support </i>

dohcan
02-05-2001, 10:23 PM
Boy, that's a silly reply.

JPEG is probably the single-most popular image format on the Internet (or maybe second behind GIF, but GD 1.6+ doesn't support GIF without hacking it), and HostRocket refuses to compile PHP with JPEG support.

So we are left with PNG, which is a fine format if you are not working with photos. JPEG's perception-based compression is much better. PNG probably has a better image quality but the file size it requires compared to JPEG is not a worthy trade-off.

A 100kb JPEG file can look almost as good as a 500kb PNG file, in certain situations, and there are situations where a 30kb PNG (because of an optimized palette) can look as good as a 150kb JPEG. That's why we need support for both formats.

Brendan
02-06-2001, 12:34 AM
Hi,

This has been added to the newest server that we have setup.

-Brendan

dohcan
02-06-2001, 12:40 AM
Does that mean the other servers will have or do have JPEG support, because I'm still getting:

Warning: ImageCreateFromJpeg: No JPEG support in this PHP build

Thanks.