Re: [PHP] GD library problem

2002-05-14 Thread Rasmus Lerdorf

 This is funny: I have getimagesize(), but not
 createimage() and things like that. Is this because
 getimagesize() is not part of the GD library...? Or is
 there a problem with my GD library?

getimagesize() is not part of GD.  You likely didn't add the GD extension
correctly to PHP.

 Also, is there any resolution to this GIF copyright
 thing going on with Unisys? I want to be able to
 resize images and whatnot, but I don't want to
 multiply image upload time by about 5 because I have
 to switch to JPG format. Is PNG format supported by
 older browsers? Incidentally, getimagesize() works on
 GIFs. I thought GIF format wasn't supported.

The copyright issue really has nothing to do with PHP.  Talk to the GD
folks.  It is not our decision.  With the bundling of GD in 4.3 that
changes a bit, but it only applies to generating gifs, not reading them.
There are versions of GD out there that have jpg, png and gif all
included.  PHP supports these hacked versions.

-Rasmus


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




Re: [PHP] GD library problem

2002-05-14 Thread Liam Gibbs

 getimagesize() is not part of GD.  You likely didn't
 add the GD extension correctly to PHP.

That's what I figured, but I wasn't sure about it.
Dagnabbit. I'm gonna have to try harder with GD. :)

 The copyright issue really has nothing to do with
 PHP.  Talk to the GD
 folks.  It is not our decision.  With the bundling
 of GD in 4.3 that
 changes a bit, but it only applies to generating
 gifs, not reading them.
 There are versions of GD out there that have jpg,
 png and gif all
 included.  PHP supports these hacked versions.

I know it has nothing to do with PHP. I just thought
someone might have some news on it.


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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




Re: [PHP] GD library problem

2002-05-14 Thread Rasmus Lerdorf

By the way, there is no createimage() function.  It is called
imagecreate().  And the only real news is that the Unisys patent expires
in 2003, so we might be able to do something then.  But GIF needs to die.
It's a crappy format.  PNG is well supported in all browsers.

-Rasmus

On Tue, 14 May 2002, Liam Gibbs wrote:

  getimagesize() is not part of GD.  You likely didn't
  add the GD extension correctly to PHP.

 That's what I figured, but I wasn't sure about it.
 Dagnabbit. I'm gonna have to try harder with GD. :)

  The copyright issue really has nothing to do with
  PHP.  Talk to the GD
  folks.  It is not our decision.  With the bundling
  of GD in 4.3 that
  changes a bit, but it only applies to generating
  gifs, not reading them.
  There are versions of GD out there that have jpg,
  png and gif all
  included.  PHP supports these hacked versions.

 I know it has nothing to do with PHP. I just thought
 someone might have some news on it.


 __
 Do You Yahoo!?
 LAUNCH - Your Yahoo! Music Experience
 http://launch.yahoo.com

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



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