Re: using ImageGIF
| From: | Louie Miranda | Date: | Fri, 17 Oct 2003 03:04:50 +0000 |
| Subject: | Re: using ImageGIF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166405@lists.php.net to get a copy of this message | ||
yes, thanks for the information. Is there any other similar types like gd
that can create gif's?
-- -
Louie Miranda
http://www.axishift.com
----- Original Message -----
From: "Paul" <gabaod@yahoo.com>
To: "Louie Miranda" <louie@axishift.ath.cx>; <php-general@lists.php.net>
Sent: Friday, October 17, 2003 10:52 AM
Subject: Re: [PHP] using ImageGIF
> To my understanding, gif is licensed, therefore its
> not used in the current gd libraries. I believe the
> licensing is up in july of 2004, and the support would
> be reimplemented after then, but not 100% positive.
> Go head over to the GD website to read more info about
> gif.
>
>
> --- Louie Miranda <louie@axishift.ath.cx> wrote:
> > Im trying to show gif images on a browser, since on
> > my work. Not all are
> > using Internet explorer on windows. One of my test
> > shows on a Mac OS X 10.1
> > IE 5.5 the jpeg and png files are not supported and
> > only gif images.
> >
> > I tried this syntax to generate gif files..
> >
> > --php code--
> > $im = ImageCreate(200, 200);
> > $white = ImageColorAllocate($im, 0xFF, 0xFF,
> > 0xFF);
> > $black = ImageColorAllocate($im, 0x00, 0x00,
> > 0x00);
> > ImageFilledRectangle($im, 50, 50, 150, 150,
> > $black);
> > header("Content-Type: image/gif");
> > ImageGIF($im);
> > --php code--
> >
> > but the browser returns an error on the image..
> >
> > ("The image http://url cannot be displayed, because
> > it contains errors.")
> >
> > And how would you know that gif is supported? PNG
> > and JPEG is shown on
> > phpinfo();
> >
> >
> > -- -
> > Louie Miranda
> > http://www.axishift.com
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com