Re: [PHP] PHP GD library installing

2008-04-11 Thread Luca Paolella


On Apr 10, 2008, at 5:15 PM, Daniel Brown wrote:

On Thu, Apr 10, 2008 at 4:54 AM, Luca Paolella <[EMAIL PROTECTED] 
> wrote:
How do I install/activate the GD library with my existing PHP  
version? I'm

quite sure it isn't already, since I got this error:

Fatal error: Call to undefined function imagecreate() in
/Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/ 
image.php on

line 6


   First, this is a server to which you have root access, correct?
You won't be able to install it otherwise, such as if you're on a
shared web host.

   Secondly, what *NIX are you using?  It looks to me like a
BSD-style system maybe MacOS?

--

Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!


Yes, it's Mac OSX and I have root access on the machine; I just  
checked my mail, so sorry for the delay


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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Daniel Brown
On Thu, Apr 10, 2008 at 4:54 AM, Luca Paolella <[EMAIL PROTECTED]> wrote:
> How do I install/activate the GD library with my existing PHP version? I'm
> quite sure it isn't already, since I got this error:
>
>  Fatal error: Call to undefined function imagecreate() in
> /Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php on
> line 6

First, this is a server to which you have root access, correct?
You won't be able to install it otherwise, such as if you're on a
shared web host.

Secondly, what *NIX are you using?  It looks to me like a
BSD-style system maybe MacOS?

-- 

Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink

Quoting Robin Vickery <[EMAIL PROTECTED]>:


On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:

Quoting Robin Vickery <[EMAIL PROTECTED]>:


> On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
>
> > Quoting Luca Paolella <[EMAIL PROTECTED]>:
> >
> >
> > > How do I install/activate the GD library with my existing PHP version?
> > > I'm quite sure it isn't already, since I got this error:
> > >
> > > Fatal error: Call to undefined function imagecreate() in
> > >
> >
/Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php
> > on
> > > line 6
> > >
> > > Please forgive my ignorance, and thanks for your help
> > >
> > >
> >
> >  On windows it's as easy as downloading the dll from pecl4win.php.net.
> >
> >  But from your directory structure i presume you have some sort of *nix
> > system.
> >  So you have to reconfigure and rebuild PHP.
> >
>
> Ouch... first try installing the php gd module through whatever
> package manager your *nix distribution uses. For instance, on Ubuntu
> linux you'd do:
>
> sudo aptitude install php5-gd
>
>

 Ouch? That's exactly what i added to my post "Make sure GD is installed
 on the system."


Making sure GD is installed on the system is a very sensible thing to do.

The "ouch" was aimed at the suggestion that if you're on a *nix
system, the course of action is to recompile php. Normally these days
you'd just install the gd module (the equivalent of your windows dll)
through your package manager.



My bad! :) I always compile everything from source



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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Robin Vickery
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> Quoting Robin Vickery <[EMAIL PROTECTED]>:
>
>
> > On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> >
> > > Quoting Luca Paolella <[EMAIL PROTECTED]>:
> > >
> > >
> > > > How do I install/activate the GD library with my existing PHP version?
> > > > I'm quite sure it isn't already, since I got this error:
> > > >
> > > > Fatal error: Call to undefined function imagecreate() in
> > > >
> > >
> /Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php
> > > on
> > > > line 6
> > > >
> > > > Please forgive my ignorance, and thanks for your help
> > > >
> > > >
> > >
> > >  On windows it's as easy as downloading the dll from pecl4win.php.net.
> > >
> > >  But from your directory structure i presume you have some sort of *nix
> > > system.
> > >  So you have to reconfigure and rebuild PHP.
> > >
> >
> > Ouch... first try installing the php gd module through whatever
> > package manager your *nix distribution uses. For instance, on Ubuntu
> > linux you'd do:
> >
> > sudo aptitude install php5-gd
> >
> >
>
>  Ouch? That's exactly what i added to my post "Make sure GD is installed
>  on the system."

Making sure GD is installed on the system is a very sensible thing to do.

The "ouch" was aimed at the suggestion that if you're on a *nix
system, the course of action is to recompile php. Normally these days
you'd just install the gd module (the equivalent of your windows dll)
through your package manager.

-robin

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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink

Quoting Robin Vickery <[EMAIL PROTECTED]>:


On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:

Quoting Luca Paolella <[EMAIL PROTECTED]>:


> How do I install/activate the GD library with my existing PHP version?
> I'm quite sure it isn't already, since I got this error:
>
> Fatal error: Call to undefined function imagecreate() in
>
/Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php
on
> line 6
>
> Please forgive my ignorance, and thanks for your help
>
>

 On windows it's as easy as downloading the dll from pecl4win.php.net.

 But from your directory structure i presume you have some sort of *nix
system.
 So you have to reconfigure and rebuild PHP.


Ouch... first try installing the php gd module through whatever
package manager your *nix distribution uses. For instance, on Ubuntu
linux you'd do:

sudo aptitude install php5-gd



Ouch? That's exactly what i added to my post "Make sure GD is installed
on the system."



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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Robin Vickery
On 10/04/2008, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> Quoting Luca Paolella <[EMAIL PROTECTED]>:
>
>
> > How do I install/activate the GD library with my existing PHP version?
> > I'm quite sure it isn't already, since I got this error:
> >
> > Fatal error: Call to undefined function imagecreate() in
> >
> /Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php
> on
> > line 6
> >
> > Please forgive my ignorance, and thanks for your help
> >
> >
>
>  On windows it's as easy as downloading the dll from pecl4win.php.net.
>
>  But from your directory structure i presume you have some sort of *nix
> system.
>  So you have to reconfigure and rebuild PHP.

Ouch... first try installing the php gd module through whatever
package manager your *nix distribution uses. For instance, on Ubuntu
linux you'd do:

sudo aptitude install php5-gd

-robin

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



Re: [PHP] PHP GD library installing

2008-04-10 Thread Thijs Lensselink

Quoting Luca Paolella <[EMAIL PROTECTED]>:


How do I install/activate the GD library with my existing PHP version?
I'm quite sure it isn't already, since I got this error:

Fatal error: Call to undefined function imagecreate() in
/Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php on
line 6

Please forgive my ignorance, and thanks for your help



On windows it's as easy as downloading the dll from pecl4win.php.net.

But from your directory structure i presume you have some sort of *nix system.
So you have to reconfigure and rebuild PHP. Add the following to the  
configure line. And rebuild PHP after that. Make sure GD is installed  
on the system.


--with-gd --with-jpeg-dir --with-png-dir

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



[PHP] PHP GD library installing

2008-04-10 Thread Luca Paolella
How do I install/activate the GD library with my existing PHP version?  
I'm quite sure it isn't already, since I got this error:


Fatal error: Call to undefined function imagecreate() in /Volumes/Data/ 
Users/luca/Library/WebServer/Documents/reloadTest/image.php on line 6


Please forgive my ignorance, and thanks for your help

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



Re: [PHP] GD Library

2007-10-30 Thread Jochem Maas
Charlene wrote:
> I have the GD Library installed, but I don't see any of the fonts.  What
> is the preferred location to download fonts (standard fonts like Arial,
> Verdana, etc.) and which directory should they be stored in?

'standard fonts' is not. and any directory you want. upload any legal fonts
you have/need.

http://php.net/manual/en/function.imagettftext.php

... pass it in the fullpath to the .tff file (amongst other things)

> 
> Charlene
> 

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



[PHP] GD Library

2007-10-30 Thread Charlene
I have the GD Library installed, but I don't see any of the fonts.  What 
is the preferred location to download fonts (standard fonts like Arial, 
Verdana, etc.) and which directory should they be stored in?


Charlene

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



Re: [PHP] GD Library

2007-09-13 Thread Samuel Vogel

I would point you to MAMP:
http://www.mamp.info/

It's like Xampp but designed all for a Mac... Easy to install, to 
configure and to user ;)


Regards,
Samy

Greg Donald schrieb:

On Thu, 13 Sep 2007, Steve Marquez wrote:
 

I am running PHP 4.4.7 without the GD Library and need it to run.
I am very novice on PHP, and am using a Mac with 10.3.9.
Can anyone point me in the right direction?




http://destiney.com/blog/php-4-5-macos-x

Hopefully those configs aren't totally outdated.


  


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



Re: [PHP] GD Library

2007-09-13 Thread Greg Donald
On Thu, 13 Sep 2007, Steve Marquez wrote:
> I am running PHP 4.4.7 without the GD Library and need it to run.
> I am very novice on PHP, and am using a Mac with 10.3.9.
> Can anyone point me in the right direction?


http://destiney.com/blog/php-4-5-macos-x

Hopefully those configs aren't totally outdated.


-- 
Greg Donald
Cyberfusion Consulting
http://cyberfusionconsulting.com/

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



RE: [PHP] GD Library

2007-09-13 Thread Jay Blanchard
[snip]
I am running PHP 4.4.7 without the GD Library and need it to run.
I am very novice on PHP, and am using a Mac with 10.3.9.
Can anyone point me in the right direction?
[/snip]

http://www.php.net/gd tells you how to get and install the libraries.

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



[PHP] GD Library

2007-09-13 Thread Steve Marquez
Greetings,

I am running PHP 4.4.7 without the GD Library and need it to run.
I am very novice on PHP, and am using a Mac with 10.3.9.
Can anyone point me in the right direction?

Thank you so much,

--
Steve M.



Re: [PHP] GD Library and outputing image

2007-06-15 Thread tedd

At 9:17 PM +0100 6/13/07, Ross wrote:

Never really used the GD much before very straightforward but how do I
output the image on a page. This is  fine on a php page on its own but what
about one where the headers are already sent?


Ross:

That's not a problem. See this:

http://xn--nvg.com/rotated_text  <-- if your browser chokes, get a 
better browser


The image code (text.php) is:



and it's called from html like this:



If you put this into your site, you'll need arial.tff to make it 
work, but you can find it in lot's of places.


Cheers,

tedd


--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



Re: [PHP] GD Library and outputing image

2007-06-13 Thread Daniel Brown

On 6/13/07, Stephen <[EMAIL PROTECTED]> wrote:



Ross <[EMAIL PROTECTED]> wrote:Never really used the GD much before very 
straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?

  Save the image as file, first.

  The href src= etc



   If space isn't an issue, that's an alternative answer

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

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



Re: [PHP] GD Library and outputing image

2007-06-13 Thread Stephen


Ross <[EMAIL PROTECTED]> wrote:Never really used the GD much before very 
straightforward but how do I 
output the image on a page. This is fine on a php page on its own but what 
about one where the headers are already sent?
   
  Save the image as file, first.
   
  The href src= etc


Re: [PHP] GD Library and outputing image

2007-06-13 Thread Daniel Brown

On 6/13/07, Ross <[EMAIL PROTECTED]> wrote:

Never really used the GD much before very straightforward but how do I
output the image on a page. This is  fine on a php page on its own but what
about one where the headers are already sent?


I take it I can do something like  this . Anyone got a better method?




$image = imagecreatefromjpeg($img_url);
if ($image === false) { die ('Unable to open image'); }

// Get original width and height
echo $width = imagesx($image);
echo $height = imagesy($image);

// New width and height
$new_width = 200;
$new_height = 150;

// Resample
$image_resized = imagecreatetruecolor($new_width, $new_height);
imagecopyresampled($image_resized, $image, 0, 0, 0, 0, $new_width,
$new_height, $width, $height);

// Display resized image
header('Content-type: image/jpeg');
imagejpeg($image_resized);
die();

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




   Aside from perhaps changing die(); to exit;, though not necessary,
I'd say that it looks like you're right on track.  Until you find a
better way to have HTML display an image than through , I
think it's good to go.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

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



[PHP] GD Library and outputing image

2007-06-13 Thread Ross
Never really used the GD much before very straightforward but how do I 
output the image on a page. This is  fine on a php page on its own but what 
about one where the headers are already sent?


I take it I can do something like  this . Anyone got a better method?




$image = imagecreatefromjpeg($img_url);
if ($image === false) { die ('Unable to open image'); }

// Get original width and height
echo $width = imagesx($image);
echo $height = imagesy($image);

// New width and height
$new_width = 200;
$new_height = 150;

// Resample
$image_resized = imagecreatetruecolor($new_width, $new_height);
imagecopyresampled($image_resized, $image, 0, 0, 0, 0, $new_width, 
$new_height, $width, $height);

// Display resized image
header('Content-type: image/jpeg');
imagejpeg($image_resized);
die();

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



Re: [PHP] GD Library or PHP Function

2006-03-24 Thread tedd

On Wed, March 22, 2006 9:18 pm, brian dichiara wrote:

 Is there a way to check to see if a JPEG or PDF is color or
 black/white?
 Like a function or something?


There does not appear to be a built-in function that does that...



I don't know of any either, but that's the reason when I put an image 
into a dB, I also put in the type.


tedd

--

http://sperling.com

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



Re: [PHP] GD Library or PHP Function

2006-03-23 Thread Richard Lynch
On Wed, March 22, 2006 9:18 pm, brian dichiara wrote:
> Is there a way to check to see if a JPEG or PDF is color or
> black/white?
> Like a function or something?

There does not appear to be a built-in function that does that...

However, this hack should work:

function image_is_color($image){
  for ($x = 0, $xmax = imagesx($image); $x < $xmax; $x++){
for ($y = 0, $ymax = imagesy($image); $y < $ymax; $y++){
  $index = imagecolorat($image, $x, $y);
  list($r, $g, $b) = imagecolorsforindex($image, $index);
  //If all images are TrueColor, the preceding can be replaced with
  // $r = ($index >> 16) & 0xFF;
  // $g = ($index >> 8) & 0xFF;
  // $b = $index & 0xFF;
  // because in TrueColor the index is just the 24-bit color value
  if ($r != $g || $g != $b) return true;
  // You could add || $r != $b, but it's a tautology, no???
}
  }

  //If we made it here, EVERY damn pixel has R==G==B, so it's grayscale
  return false;
}

NOTE:
This is NOT going to be fast, especially for large images, especially
for large gray-scale images, in which EVERY pixel will get checked
before we know it's grayscale.

If you have MOSTLY grayscale images and a few color, switch around the
true/false and the test and make it is_grayscale() so you can bail out
MUCH faster, when the first few pixels prove an image is NOT what you
usually have.

You could also set up a multi-threaded environment and run is_color
and is_grayscale and then time-out the one that takes forever...  This
might be best if you have humoungous images and you are checking them
in a cron job or something.

Still, if you have an image that's all grayscale, and only the
top-right corner is color, or vice versa, you're gonna wait a long
time...

H.

If it's NOT a TrueColor image, and imagecolorstotal() returns a
"small" number, then you could MUCH faster just do:

function is_color($image){
  for ($index = 0, $total = imagecolorstotal($image); $index < $total;
$index++){
list($r, $g, $b) = imagecolorsforindex($image, $index);
if ($r != $g || $g != $b) return true;
  }
  return false;
}

Which then makes me think that maybe you should do:
function is_color($image){
  $xmax = imagesx($image);
  $ymax = imagesy($image);
  $count = imagecolorstotal($image);

  if ($count > ($xmax * $ymax)){
//call my first version, cuz the image is 'small' in x/y size
  }
  else{
//call my second version, cuz the image has few colors in palette
  }
}

Some benchmarks could be done to refine the test that chooses between
the function bodies -- If imagecolorsforindex() is inherently
slower/faster than imagecolorat() + bit-shifting, then you'd want to
factor in the speed difference.

Have fun!

-- 
Like Music?
http://l-i-e.com/artists.htm

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



[PHP] GD Library or PHP Function

2006-03-23 Thread brian dichiara
Is there a way to check to see if a JPEG or PDF is color or black/white? 
Like a function or something?


Thanks for any help!

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



Re: [PHP] GD library

2005-07-09 Thread Rasmus Lerdorf
Mike Bellerby wrote:
> Where is the best place to get php_gd2.dll

It's in the ext/ directory of the Win32 zip file you downloaded.  Or if
you didn't, go grab it from
http://uk.php.net/get/php-5.0.4-Win32.zip/from/this/mirror

-Rasmus

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



[PHP] GD library

2005-07-09 Thread Mike Bellerby

Where is the best place to get php_gd2.dll

Thanks

Mike

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



[PHP] GD library

2005-07-09 Thread Mike Bellerby

Where is the best place to get php_gd2.php

Thanks

Mike

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



Re: [PHP] GD library images not displaying

2005-06-21 Thread Richard Davey
Hello Ross,

Tuesday, June 21, 2005, 4:47:40 PM, you wrote:

RT> I am running Apache 2.0 with PHP 4.2.11 on Windows XP.
RT> I installed php_gd2.dll by uncommenting extension=php_gd2.dll
RT> and making sure that the file was in my extension_dir.
RT> I restarted Apache and didn't get an error, so assumed it was working.
RT> When I run my example code:

[snip]

RT> I get the following error:

RT> Fatal error: Call to undefined function:
RT> imagecreatetruecolor() in imagetest.php on line 2

RT> This code works on other servers, so where have I gone wrong in my 
installation of GD?

Create a file with phpinfo(); in it - view it. Does it have the GD
extension listed?

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I do not fear computers. I fear the lack of them." - Isaac Asimov

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



[PHP] GD library images not displaying

2005-06-21 Thread Ross Trewhella
Hi,

I am running Apache 2.0 with PHP 4.2.11 on Windows XP.
I installed php_gd2.dll by uncommenting extension=php_gd2.dll and making sure 
that the file was in my extension_dir.
I restarted Apache and didn't get an error, so assumed it was working.
When I run my example code:



I get the following error:

Fatal error: Call to undefined function: imagecreatetruecolor() in 
imagetest.php on line 2

This code works on other servers, so where have I gone wrong in my installation 
of GD?

Thanks in advance,

Ross

Re: [PHP] GD library with tiff images

2004-12-16 Thread Richard Lynch
[EMAIL PROTECTED] wrote:
> I am trying to write an image upload facility, which resizes the images,
> which I am obviously using the GD library for. Does anyone know if there
> are any functions I can use to read in images encoded in tiff image
> format?

As far as I know, the GD image functions of PHP do not support TIFF.

A very very very brief search on Boutell's site didn't turn up TIFF
either, so I'm guessing it's just not in GD at all.

One option might be to convert to JPEG using ImageMagik (aka convert).

At that point, depending on your application, you might as well have
ImageMagik scale it too.

You'll need to use http://php.net/exec and maybe mess around with shell
permissions and paths a bit.

GD is great, but for re-sizing your uploaded images, it might be better to
write a shell script in some kind of cron job to resize/move images using
ImageMagik -- If you have to pop out to a shell (which is what exec does,
essentially) you might as well just start (and stay) in the shell anyway. 
YMMV

The last paragraph really only applies if performance is a significant
factor in your upload routine.

-- 
Like Music?
http://l-i-e.com/artists.htm

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



[PHP] GD library with tiff images

2004-12-16 Thread [EMAIL PROTECTED]
hi,
I am trying to write an image upload facility, which resizes the images, 
which I am obviously using the GD library for. Does anyone know if there 
are any functions I can use to read in images encoded in tiff image format?

Cheers,
Tom
--
Working on webhosting   Tel:01388 11
MTA handling, PHP   Web:www.digital-data.co.uk
scripting, and wireless Email:[EMAIL PROTECTED]
networking, just for a
change.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] GD Library list

2004-09-11 Thread Curt Zirzow
* Thus wrote bskolb:
> Does anyone know if there is a mailing list for gdlib?  Can't seem to find
> in Google.
This is there homepage:
 http://www.boutell.com/gd/

I dont see any list there though.

Curt
-- 
The above comments may offend you. flame at will.

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



[PHP] GD Library list

2004-09-10 Thread bskolb
Does anyone know if there is a mailing list for gdlib?  Can't seem to find
in Google.


[PHP] Gd Library and Special Chars

2004-06-11 Thread news.php.net
Hi to all,
I need to do parsing of html data from one site for find nick , guild, and  
some other infos...

The problem is that gd doesn't print correctly chars like trademark,  
copyright, registered (which are contained in some nicks/guild names)...

Someone know a valid solution???
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] GD Library Upgrade

2004-05-31 Thread Ryan Schefke
I'm working with a host on a Linux box with PHP 4.2.2.  The version of GD
Library they have is 1.8.4.  I was uploading some pictures using a script
that leveraged GD Library 2+.  Using the php version with the newer GD
library seemed to produce a better quality image.  I have two questions:

 

1 - Can a newer version of GD Library (1.8.4 vs 2+) make a difference in
image quality?

2 - I'd like to upgrade the Linux box that has PHP 4.2.2 and GD Library
1.8.4 to the most recent version.  Is this easy?  Any guidance?  Do I need a
patch?

 

PS - I've been working off of this site: http://www.boutell.com/gd but
wanted to bounce this around with some experts first.

 



Re: [PHP] Gd library not found

2004-05-08 Thread Ray Hunter
On Sat, 2004-05-08 at 10:46, Phpu wrote:
> Where can i get the gd library for windows. I've googled but i can't find it.

It should be bundled with the zip file version of windows php. You will
probably have to download the zip file from php.net and then get the dll
for gd out of the zip file and put it where php can load it up.

--
Ray

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



[PHP] Gd library not found

2004-05-08 Thread Phpu
Hi,
Where can i get the gd library for windows. I've googled but i can't find it.
Thanks


[PHP] GD library update

2003-06-19 Thread Yury B .
Hi,
I need to use function imagecreatetruecolor() in my script but it 
doesn't work on my local apache+php+mysql on XP server. It works fine 
on the real server though but i need to play with it around. What do 
I need to do to get it work? from docs I understand I need gd 2.0.1 
or higher, well how to get it and how to install?

Thank you,

Yury
<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org/


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



RE: [PHP] gd library + animated gif[Scanned]

2003-03-28 Thread Michael Egan
There's a section on Freshmeat about the ImageMagick project with further links:

http://freshmeat.net/projects/imagemagick/?topic_id=100

Given your previous comment it's tempting to say that a search on Google for 
'ImageMagick' would, er - well - but I'll resist :-)

Regards,

Michael


>> Can GD library produce animated gif's?

> The PHP manual will tell you this. I'll save you the trouble, but next
>time... well... the PHP manual will tell you stuff like this:

> Since a certain version of PHP, GIFs are unsupported. I'm told they can be
> read, but as far as producing new ones (resizing, changing, etc.) there's a
> copyright issue over its encryption method. To use GD completely, go wtih
> JPG or PNG. But, there is ImageMagick(?). Check that out. Anyone got a URL?


-- 
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



Re: [PHP] gd library + animated gif

2003-03-28 Thread Liam Gibbs
> > Can GD library produce animated gif's?

Sorry. Maybe I should read more carefully. I skipped 'animatd' for some
reason? Still, no, GD won't produce animated GIFs.


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



Re: [PHP] gd library + animated gif

2003-03-28 Thread Liam Gibbs
> Can GD library produce animated gif's?

The PHP manual will tell you this. I'll save you the trouble, but next
time... well... the PHP manual will tell you stuff like this:

Since a certain version of PHP, GIFs are unsupported. I'm told they can be
read, but as far as producing new ones (resizing, changing, etc.) there's a
copyright issue over its encryption method. To use GD completely, go wtih
JPG or PNG. But, there is ImageMagick(?). Check that out. Anyone got a URL?


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



[PHP] gd library + animated gif

2003-03-28 Thread rush
Can GD library produce animated gif's?

rush
--
http://www.templatetamer.com/




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



[PHP] gd library

2003-01-10 Thread Jorge Miguel Fonseca Martins
Title: Mensagem



I have just 
installed php 4.3.0 what do I have to do now to get the gd library to 
work?
 
thanks
 





  
  
  

  


  
Jorge Martins
J[EMAIL PROTECTED]Engenheiro 
de InformáticaEngineering Department Tel: +351 22 3744827 
  WeMake - Tecnologias de Informação, 
Ldahttp://www.WeMake.pt/Rua 
Pinto de Aguiar, 223 2º ESQ 4400-252 V.N. GAIA - PortugalFax: +351 22 
3744831
  
Este E-mail contém informação 
  dirigida e para uso exclusivo das pessoas acima enunciadas. O seu conteúdo 
  é confidencial e é expressamente proibida qualquer utilização não 
  autorizada. Se recebeu este mail por engano, por favor notifique o seu 
  remetente imediatamente. Muito obrigado.The information contained 
  in this E-mail is intended for the exclusive use of the individual named 
  above. The contents may be confidential and any unauthorized use of 
  whatever kind is strictly prohibited. If you have received this 
  comunication in error, please notify de sender immediately. Thank you. 
  
 


[PHP] GD Library script help please.

2002-12-13 Thread Ryan Smaglik
I got a generic ³text to png on the fly² script which works fine but I want
to change it so that the image only the size of the text. (so the text has
no border, or padding around it) For and example of what I want to do check
out: http://www.spoono.com/font/?string=This is what i want to do&.png
I have the script:


The text for the image is called from a url like
www.xelerix.com/font/font.php?text=Hi

Thanks!





[PHP] GD Library script help please.

2002-12-13 Thread Ryan Smaglik
I got a generic ³text to png on the fly² script which works fine but I want
to change it so that the image has the same hight and width as the text
string (so the text has no border around it) For and example of what I want
to do check out: http://www.spoono.com/font/?string=This is what i want to
do&.png
I have the script:


The text for the image is called from a url like
www.xelerix.com/font/font.php?text=Hi

Thanks!





Re: [PHP] gd library

2002-11-17 Thread Jason Sheets
Hello,

YOu will need to provide some more information like your configure line,
the errors that you are receiving. Did you specifcy
--with-gd=/path/to/gd/install or just --with-gd?

What errors did you receive?  --with-gd=/path-to-gd works fine with me
with FreeBSD 4.7-STABLE, gd2 and PHP 4.2.3 and 4.3, and dev.

As you can see there are many different system configurations out there
so more details are needed before anyone can help you.

Jason

On Sat, 2002-11-16 at 19:14, A3-Mail Proxy Handler wrote:
> Hi,
> I am trying to add gd support to my php configuration. But I could not
> manage...
> 
> Here is the versions:
> php 4.2.3, gd 2.0.7, slackware 8.1, apache 1.3.27
> 
> in the make of php, php gives error with gd librarys...
> (sorry, I cannot give errors now, I cannot simulate the situation for now)
> 
> Is this a known issue?
> Does this happens to everyone?
> Should I add something different during configure?
> (I used only --with-gd)
> 
> Thanks...
> 
> 
> -- 
> 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




[PHP] gd library

2002-11-17 Thread A3-Mail Proxy Handler
Hi,
I am trying to add gd support to my php configuration. But I could not
manage...

Here is the versions:
php 4.2.3, gd 2.0.7, slackware 8.1, apache 1.3.27

in the make of php, php gives error with gd librarys...
(sorry, I cannot give errors now, I cannot simulate the situation for now)

Is this a known issue?
Does this happens to everyone?
Should I add something different during configure?
(I used only --with-gd)

Thanks...


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




Re: [PHP] GD Library for Windows

2002-07-25 Thread Mikey

It comes with the zip file of that distribution - and it works fine (except
for TTF which I can't for the life of me get to work on Win32)

frak!
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Jadiel,
>
> i do that the file ur after and tried sending it to u but ur server
rejected
> it.
>
> > -Original Message-
> > From: Jadiel Flores [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 24 July 2002 9:03 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] GD Library for Windows
> >
> >
> > I'm trying to develop a thumbnail creation module for a website
> > but I can't
> > get gd library to work in a Win2000 Advanced Server, PHP 4.2.1, IIS 5.
> >
> > Does anybody has the php_gd.dll for this version??
> >
> > Thanks.
> >
> >
> > Jadiel Flores
> > -
> > http://www.abargon.com
> > [EMAIL PROTECTED]
> > (52-55) 52-29-80-34
> >
> >
> >
> > --
> > 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




Re: [PHP] GD Library

2002-07-25 Thread Jadiel Flores

If you dowloaded the PHP 4.2.2 installer you don't have the php_gd.dll in 
your machine, you have to download the PHP 4.2.2 zip package from php.net 
and overwrite all your files in the php folder, this zip file contains all 
the dll's for windows including the php_gd.dll, then remove the ; in the 
Windows Extensions part of your php.ini corresponding to the gd library and 
check that the extension_dir in Paths and Directories has the same 
directory where the extensions are.

At 01:44 PM 7/25/2002 -0500, you wrote:
>I am trying to use GD Library on a windows 2000 installation of PHP.
>php_gd.dll is in the extensions folder and the line: ";extension=php_gd.dll"
>is in my php.ini file, but I recieve the error: "Fatal error:  Call to
>undefined function:  imagecreate()" when I try to use the
>imagecreate(100,100) function. Any ideas?
>
>Thanks!
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55) 52-29-80-34



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




RE: [PHP] GD Library

2002-07-25 Thread Matt Babineau

Not only the solution just posted, but I was using this before and
needed to set the dll used to php_gd2.dll, I am pretty sure it got
renamed in one of the more recent releases of PHP.

Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105


-Original Message-
From: Ryan Moore [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 2:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] GD Library


I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line:
";extension=php_gd.dll" is in my php.ini file, but I recieve the error:
"Fatal error:  Call to undefined function:  imagecreate()" when I try to
use the
imagecreate(100,100) function. Any ideas?

Thanks!



-- 
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




RE: [PHP] GD Library

2002-07-25 Thread Jay Blanchard

[snip]
I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line: ";extension=php_gd.dll"
is in my php.ini file, but I recieve the error: "Fatal error:  Call to
undefined function:  imagecreate()" when I try to use the
imagecreate(100,100) function. Any ideas?
[/snip]

Remove the ";" in front of the extension listing in your .ini file and
restart your web server.

HTH!

Jay



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




Re: [PHP] GD Library

2002-07-25 Thread Tech Support

I'm not a windoze user but if that line has a ";" at the beginning of it
like you have it in your message then it is commented out! LOL. :-)

Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "Ryan Moore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 1:44 PM
Subject: [PHP] GD Library


> I am trying to use GD Library on a windows 2000 installation of PHP.
> php_gd.dll is in the extensions folder and the line:
";extension=php_gd.dll"
> is in my php.ini file, but I recieve the error: "Fatal error:  Call to
> undefined function:  imagecreate()" when I try to use the
> imagecreate(100,100) function. Any ideas?
>
> Thanks!
>
>
>
> --
> 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




[PHP] GD Library

2002-07-25 Thread Ryan Moore

I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line: ";extension=php_gd.dll"
is in my php.ini file, but I recieve the error: "Fatal error:  Call to
undefined function:  imagecreate()" when I try to use the
imagecreate(100,100) function. Any ideas?

Thanks!



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




RE: [PHP] GD Library for Windows

2002-07-23 Thread Peter

Jadiel,

i do that the file ur after and tried sending it to u but ur server rejected
it.

> -Original Message-
> From: Jadiel Flores [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] GD Library for Windows
>
>
> I'm trying to develop a thumbnail creation module for a website
> but I can't
> get gd library to work in a Win2000 Advanced Server, PHP 4.2.1, IIS 5.
>
> Does anybody has the php_gd.dll for this version??
>
> Thanks.
>
>
> Jadiel Flores
> -
> http://www.abargon.com
> [EMAIL PROTECTED]
> (52-55) 52-29-80-34
>
>
>
> --
> 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




[PHP] GD Library for Windows

2002-07-23 Thread Jadiel Flores

I'm trying to develop a thumbnail creation module for a website but I can't 
get gd library to work in a Win2000 Advanced Server, PHP 4.2.1, IIS 5.

Does anybody has the php_gd.dll for this version??

Thanks.


Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55) 52-29-80-34



-- 
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




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

> 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




[PHP] GD library problem

2002-05-14 Thread Liam Gibbs

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?

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.

__
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

2002-04-11 Thread Sebastian Wenleder

At 14:21 Uhr +0200 11.04.2002, Ron Allen wrote:
>I have downloaded the GD library and I am wondering how do I install it..
>
>I unzipped it and put it my root.  I have PHP version 4.1.1...what else
>is there to do?  Does anybody have any script for me to test it real quick?
>
you will have to compile it.

on unix systems, edit the Makefile (if needed) to correspond to your 
configuration, then type make install.
then you have to recompile php with --with-gd=/path/to/gdlib
then restart apache

but hey, plz read the manuals on php and gdlib before trying!

~Sebastian

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




[PHP] GD library

2002-04-11 Thread Ron Allen

I have downloaded the GD library and I am wondering how do I install it..

I unzipped it and put it my root.  I have PHP version 4.1.1...what else
is there to do?  Does anybody have any script for me to test it real quick?



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




[PHP] gd-library ...

2002-03-09 Thread Marcel Besancon

Hi,

i'm trying to use the gd-library under windows, but it doesn't work. How
can I include the gd.dll? Where do I put this file? I tried some different
directories which are written in the php.ini as include-directories. What am
I doing wrong? Is there a way to use this library under windows???

Any hint can be useful.

Sincerely

Marcel

--
registered Fli4l-User #0388



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




[PHP] PHP & GD Library

2002-02-13 Thread SpyProductions Support Team


I installed and recompiled PHP on my Apache server with the GD libs as well
as zlib and png libs.

I have a test script from the GD web site, but it doesn't seem to work.  The
test script is at:

http://www.spidermanzone.com/testgd2

And runs at:

http://www.spidermanzone.com/testgd2.php

The phpinfo showing that the libs are all enabled is at:

http://www.spidermanzone.com/phpinfo.php

Anyone have any suggestions or PHP script with GD in it that I could use to
test things?

Thanks,

-Mike



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




Re: [PHP] gd library with GIF support

2002-01-31 Thread Ed Lazor


>Therefore it would be recommended to avoid problems in the future and
>use PNG instead, however, if you want to use transparency in your images
>bear in mind that a number of implementations do not support this.
>For example the quicktime plugin that handles PNGs in Netscape 4.x .

Yea... the main reason of still having to use gif is animation for 
banners.  hmmm  Maybe I'm assuming something - png doesn't support 
animation, right?  If it does, is it easy to convert animated gifs to png?

-Ed


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] gd library with GIF support

2002-01-31 Thread bvr


Hi,

The GIF enabled versions are not officially available anymore
for reasons stated on GD's website http://www.boutell.com/gd .

And even if you were able to get hold of a copy, compiling it against
the latest PHP is not that easy and may become harder in time.

Therefore it would be recommended to avoid problems in the future and
use PNG instead, however, if you want to use transparency in your images
bear in mind that a number of implementations do not support this.
For example the quicktime plugin that handles PNGs in Netscape 4.x .

Unfortunately this makes it impossible to use GD for certain purposes,
I had this problem when I was trying to migrate websites from PHP 3
to the latest PHP 4 and was unable to compile the older GD lib against
PHP versions > 4.05pl1 .

Also check this effort to compile later versions of GD with GIF *and* PNG
support: http://www.acc.ne.jp/~tam/GD/index.en.html


bvr.

On Wed, 30 Jan 2002 21:21:53 -0800, Ed Lazor wrote:

>I'm trying to play with the gif functions this program supports.  I'm 
>having trouble finding it.  Could someone e-mail it to me?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] gd library 1.6 or younger

2002-01-30 Thread Rasmus Lerdorf

google for gd-1.8.3gif

On Wed, 30 Jan 2002, Ed Lazor wrote:

> I'm trying to play with the gif functions this program supports.  I'm 
> having trouble finding it.  Could someone e-mail it to me?
> 
> Thanks,
> 
> -Ed
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] gd library 1.6 or younger

2002-01-30 Thread Ed Lazor

I'm trying to play with the gif functions this program supports.  I'm 
having trouble finding it.  Could someone e-mail it to me?

Thanks,

-Ed


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] gd library

2002-01-30 Thread Ed Lazor

Hi =)

Which version of the gd library comes with PHP?

Thanks,
-Ed


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] GD Library help

2001-09-22 Thread Don Read


On 22-Sep-2001 Jay Paulson wrote:
> Do all versions of the GD library for Linux that are version 1.6 and above
> not support any GIF formats?

Yes, It was removed due to copyright restrictions.
from http://www.boutell.com/gd/manual1.8.4.html :

" Support for GIF has been removed. This step was taken to completely avoid the
legal controversy regarding the LZW compression algorithm used in GIF. Unisys
holds a patent which is relevant to LZW compression. " 

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD Library help

2001-09-22 Thread Jay Paulson

Do all versions of the GD library for Linux that are version 1.6 and above
not support any GIF formats?  I have 1.8 and in the manual I thought that it
was only version 1.6 that didn't support GIF format.  However, when I run
ImageCreateFromGIF() or ImageGIF() I get an error saying that it's not
supported in PHP.  Also, I wanted to use the ImageCopyResampled but that's
only supported in GD 2.0.  Is there a GD 2.0 for Redhat 7.1?

Thanks,
Jay


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD Library help

2001-09-21 Thread Jay Paulson

Do all versions of the GD library for Linux that are version 1.6 and above
not support any GIF formats?  I have 1.8 and in the manual I thought that it
was only version 1.6 that didn't support GIF format.  However, when I run
ImageCreateFromGIF() or ImageGIF() I get an error saying that it's not
supported in PHP.  Also, I wanted to use the ImageCopyResampled but that's
only supported in GD 2.0.  Is there a GD 2.0 for Redhat 7.1?

Thanks,
Jay


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] gd-library

2001-09-07 Thread Gert Mellak

hi!

How can I find out if gd-library is installed on my server and if not, how
can I install it

please email me if you want to help me.

TIA,

gert.
email: [EMAIL PROTECTED]
http://www.mellak.com




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] GD library

2001-07-28 Thread Alexander Wagner

Manu Verhaegen wrote:
> I want to install the GD library for PHP
> I seek libpng and zlib and jpeg-6b can you help me

For what OS?

regards
Wagner

-- 
"Isn't it strange? The same people who laugh at gypsy fortune tellers take 
economists seriously."
 - Cincinnati Enquirer   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] GD library

2001-07-28 Thread Clayton Dukes

www.boutell.com


- Original Message - 
From: "Manu Verhaegen" <[EMAIL PROTECTED]>
To: "'Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 12:51 PM
Subject: [PHP] GD library


> I want to install the GD library for PHP
> I seek libpng and zlib and jpeg-6b can you help me
> 
> Greetings,
> Manu Verhaegen
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD library

2001-07-28 Thread Manu Verhaegen

I want to install the GD library for PHP
I seek libpng and zlib and jpeg-6b can you help me

Greetings,
Manu Verhaegen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] gd library on win2k?

2001-06-25 Thread Richard Lynch

> how can i install the gd library for php on win2k using iis5?

The IIS5 part is irrelevant, I think...

Dig around for a file++ whose name is composed of "GD", "PHP", and ".DLL".

Put it next to all your other PHP DLL files.

Alter your php.ini to refer to it the way it refers to other PHP DLLs.

It's Windows:  Pray.

++ Disclaimer:  I have no idea if such a file exists or not...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] gd library on win2k?

2001-06-23 Thread Noah Spitzer-Williams

how can i install the gd library for php on win2k using iis5?

- Noah



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] gd library

2001-06-22 Thread Julia A. Case

This message never showed up on the list so I appologize if it shows up 2x.

I have a customer that wants to use the gd library with PHP, I got 2 different 
versions (1.3.8 and 2.0.1) and both say that they no longer support GIF formats...  
but when I try to compile the ext/gd/gd.c file I get errors on GIF function calls.

Is there a way around this?

Julia

-- 
[  Julia Anne Case  ] [Ships are safe inside the harbor,   ]
[Programmer at large] [  but is that what ships are really for.]  
[   Admining Linux  ] [   To thine own self be true.   ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD Library

2001-05-07 Thread José Luis Malagón V.

Hi,

I need generate graphics with php.

I know GD Library help me but I don´t know how do I install it.

Can somebpdy help me ?

Thanks in advance for your help,

Jose Luis.







Re: [PHP] GD library

2001-02-13 Thread Michael McGlothlin

Have you tried Apache Toolbox? If building under Unix w/ Apache as your 
web server it can be a great time saver and if your running into 
problems you can look how it builds something and see how to make it 
work so you'll know later. You can find it easily from Freshmeat.net.

David Robley wrote:

> On Wed, 14 Feb 2001 00:23, Rahul Hari Bhide wrote:
> 
>> Hi ,
>> I am configuring php with the  --with-gd option .
>> My libgd.a is sitting in /usr/local/lib and other header files in
>> /usr/local/include .
>> 
>> ./configure --with-gd=/usr/local/lib gives me the following error :
>> 
>> checking whether to include GD support... configure: error: Unable to
>> find libgd.(a|so) anywhere under /usr/local/lib
>> 
>> though the file is very much existant.
>> 
>> Any ideas what is wrong???
>> 
>> ~Rahul
> 
> 
> Try ./configure --with-gd=/usr/local
> 
> Then configure will look in lib under that path for the libraries and 
> include for the include files.
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] GD library

2001-02-13 Thread David Robley

On Wed, 14 Feb 2001 00:23, Rahul Hari Bhide wrote:
> Hi ,
> I am configuring php with the  --with-gd option .
> My libgd.a is sitting in /usr/local/lib and other header files in
> /usr/local/include .
>
> ./configure --with-gd=/usr/local/lib gives me the following error :
>
> checking whether to include GD support... configure: error: Unable to
> find libgd.(a|so) anywhere under /usr/local/lib
>
> though the file is very much existant.
>
> Any ideas what is wrong???
>
> ~Rahul

Try ./configure --with-gd=/usr/local

Then configure will look in lib under that path for the libraries and 
include for the include files.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD library

2001-02-13 Thread Rahul Hari Bhide

Hi ,
I am configuring php with the  --with-gd option .
My libgd.a is sitting in /usr/local/lib and other header files in
/usr/local/include .

./configure --with-gd=/usr/local/lib gives me the following error :

checking whether to include GD support... configure: error: Unable to find
libgd.(a|so) anywhere under /usr/local/lib

though the file is very much existant.

Any ideas what is wrong???

~Rahul



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] GD Library ??? Where to find.

2001-01-15 Thread Cynic

www.boutell.com/gd/ IIRC

At 18:26 15.1. 2001, Dallas Kropka wrote the following:
-- 
>Please point me to the GD library I cant seem to find it.
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--end of quote-- 




Cynic:

A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.

[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD Library ??? Where to find.

2001-01-15 Thread Dallas Kropka

Please point me to the GD library I cant seem to find it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]