RE: [PHP-WIN] GD library for jpeg?
| From: | Chris Kranz | Date: | Thu, 30 Jan 2003 00:34:50 +0000 |
| Subject: | RE: [PHP-WIN] GD library for jpeg? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18201@lists.php.net to get a copy of this message | ||
Sup:
http://gallery.menalto.com/modules.php?op=modload&name=GalleryFAQ&file=i
ndex&myfaq=yes&id_cat=3&categories=3+-+Gallery+Graphics+Toolkits&parent_
id=0
chris kranz
fatcuban.com
-----Original Message-----
From: Afan Pasalic [mailto:afan@sprout.net]
Sent: Thursday, January 30, 2003 12:19 AM
To: php-windows@lists.php.net
Cc: php@l1te.net
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