I could be wrong, but aren't some of the older versions of PHP without
JPEG gd lib ability?

I remember playing with the gd lib over a year ago, and I couldn't get
anything to come out as JPEG's. actually, there wasn't the functions to
do some of the stuff with JPEG's.

Maybe I was dreaming, but I seem to remember it clearly, that's why I
used NetPBM instead at the time...

chris kranz
fatcuban.com


-----Original Message-----
From: Afan Pasalic [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 30, 2003 12:19 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Fw: [PHP-WIN] GD library for jpeg?

That would be strange - Explorer 6.0.
And hosting company is pair.com - pretty high ranked hosting co.

What could be the easiest way to check that, to be sure?

Afan



----- Original Message ----- 
From: Dash McElroy 
To: Afan Pasalic 
Sent: Wednesday, January 29, 2003 7:11 PM
Subject: Re: [PHP-WIN] GD library for jpeg?


It sounds as if your browser doesn't have support for PNG's, or you're
sending a wrong header... What browser version are you using?

Sounds like your hosting company doesn't have JPEG support built in. How
sad.

-Dash

"He's just a politician trying to save both his faces ..."

On Wed, 29 Jan 2003, Afan Pasalic wrote:

> I tried an example from php.net site:
>
> <?php
> header ("Content-type: image/png");
> $im = @imagecreate (50, 100)
>     or die ("Cannot Initialize new GD image stream");
$background_color
> = imagecolorallocate ($im, 255, 255, 255); $text_color =
> imagecolorallocate ($im, 233, 14, 91); imagestring ($im, 1, 5, 5, "A
> Simple Text String", $text_color); imagepng ($im); ?>I'm getting some
> weird simbols/signs on screen (?PNG  IHDR2dt&nPLTE???é
['ĖtL)But,
> when I try to use jpeg format - getting Fatal Error. Does it mean that
> my hosting company doesn't have instaled GD library that support
> jpeg?Thanks for any help.Afan


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to