Re: [PHP] image function

2002-08-13 Thread NoWhErEMan


I can resize the jpeg file with below script, i.e. jpeg function works on my
machine.
I am using Apache 2.0.3.9 with PHP 4.2.2, i forget which dll i uncommented.
either php_gd or php_gd2.
-

--
"Sascha Braun" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> I believe the jpeg funnktions don't work on a windows system. The Gifs
don't
> do either because they aren't implemeted too.
>
> Please look at this Library. It's very nice but I don't get it working and
> the guy who made it don't know either, why it's not working on my system.
> Must be something about jpeg librarys and so on.
>
> Schura
>
> PS.: Examples at the end of the file.
>
> -Ursprüngliche Nachricht-
> Von: Nicholas Mercier [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 13. August 2002 10:35
> An: [EMAIL PROTECTED]
> Betreff: Re: [PHP] image function
>
>
> At 09:50 PM 8/12/2002 +0800, you wrote:
> Jay,
>
> I would recommend uncommenting the php_gd2.dll extension.
>
> Gd2 contains some functions that GD lacks and is over all better in my
> opinion.
> However, they are correct that you do NOT need to recompile when running
> PHP on a Windows Platform.  Simply change php.ini to include the added
> extension and then restart your apache server.
>
> Nick
>
>
> >Thank you Jay, Yup my apache is on Windows : )
> >Let's me try first.
> >"Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
> >:002301c24201$b28caf00$[EMAIL PROTECTED]
> > > [snip]
> > > I known i need to install a lot of staffs to get all the functions
> >works(GD
> > > Lib, FreeType Lib, libjpeg, libpng, zlibetc etc).
> > > But i only need a few of them, so if i just load the php_gd.dll, what
> > > functions included?? I canr found any information about that.
> > > And one more, does php_gd2.dll also a GD lib?
> > > [/snip]
> > >
> > > The DLL is a Windows library AFAIR, and contains the GD functions when
> > > included on a Windows server. You do not have to enable this extension
> on
> >an
> > > Apache server (unless it is Apache on Windows). You just have to make
> sure
> > > that PHP is compiled with all of the proper libraries for your use of
> GD.
> > >
> > > As for the second DLL, I am not sure. I haven't done a lot of Windows
GD
> > > installations, it does not look familiar.
> > >
> > > HTH!
> > >
> > > Jay
> > >
> > >
> >
> >
> >
> >--
> >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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] image function

2002-08-13 Thread Nicholas Mercier

At 09:50 PM 8/12/2002 +0800, you wrote:
Jay,

I would recommend uncommenting the php_gd2.dll extension.

Gd2 contains some functions that GD lacks and is over all better in my opinion.
However, they are correct that you do NOT need to recompile when running 
PHP on a Windows Platform.  Simply change php.ini to include the added 
extension and then restart your apache server.

Nick


>Thank you Jay, Yup my apache is on Windows : )
>Let's me try first.
>"Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
>:002301c24201$b28caf00$[EMAIL PROTECTED]
> > [snip]
> > I known i need to install a lot of staffs to get all the functions
>works(GD
> > Lib, FreeType Lib, libjpeg, libpng, zlibetc etc).
> > But i only need a few of them, so if i just load the php_gd.dll, what
> > functions included?? I canr found any information about that.
> > And one more, does php_gd2.dll also a GD lib?
> > [/snip]
> >
> > The DLL is a Windows library AFAIR, and contains the GD functions when
> > included on a Windows server. You do not have to enable this extension on
>an
> > Apache server (unless it is Apache on Windows). You just have to make sure
> > that PHP is compiled with all of the proper libraries for your use of GD.
> >
> > As for the second DLL, I am not sure. I haven't done a lot of Windows GD
> > installations, it does not look familiar.
> >
> > HTH!
> >
> > Jay
> >
> >
>
>
>
>--
>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] image function

2002-08-12 Thread NoWhErEMan

Thank you Jay, Yup my apache is on Windows : )
Let's me try first.
"Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:002301c24201$b28caf00$[EMAIL PROTECTED]
> [snip]
> I known i need to install a lot of staffs to get all the functions
works(GD
> Lib, FreeType Lib, libjpeg, libpng, zlibetc etc).
> But i only need a few of them, so if i just load the php_gd.dll, what
> functions included?? I canr found any information about that.
> And one more, does php_gd2.dll also a GD lib?
> [/snip]
>
> The DLL is a Windows library AFAIR, and contains the GD functions when
> included on a Windows server. You do not have to enable this extension on
an
> Apache server (unless it is Apache on Windows). You just have to make sure
> that PHP is compiled with all of the proper libraries for your use of GD.
>
> As for the second DLL, I am not sure. I haven't done a lot of Windows GD
> installations, it does not look familiar.
>
> HTH!
>
> Jay
>
>



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




RE: [PHP] image function

2002-08-12 Thread Jay Blanchard

[snip]
I known i need to install a lot of staffs to get all the functions works(GD
Lib, FreeType Lib, libjpeg, libpng, zlibetc etc).
But i only need a few of them, so if i just load the php_gd.dll, what
functions included?? I canr found any information about that.
And one more, does php_gd2.dll also a GD lib?
[/snip]

The DLL is a Windows library AFAIR, and contains the GD functions when
included on a Windows server. You do not have to enable this extension on an
Apache server (unless it is Apache on Windows). You just have to make sure
that PHP is compiled with all of the proper libraries for your use of GD.

As for the second DLL, I am not sure. I haven't done a lot of Windows GD
installations, it does not look familiar.

HTH!

Jay



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




Re: [PHP] image function

2002-08-12 Thread NoWhErEMan

Thanks Jay,
I known i need to install a lot of staffs to get all the functions works(GD
Lib, FreeType Lib, libjpeg, libpng, zlibetc etc).
But i only need a few of them, so if i just load the php_gd.dll, what
functions included?? I canr found any information about that.
And one more, does php_gd2.dll also a GD lib?

Thanks in advance
Nowhereman
"Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:002001c241fc$9f644d70$[EMAIL PROTECTED]
> [snip]
> I want to use the image functions listed in www.php.net to manipulate
> images. My server is Apache 2.0.x.x with PHP 4.2.2 , built on windows
> platform. Is it uncomment the ;extension=php_gd.dll in php.ini enough to
> enable such functions?
> [/snip]
>
> Not on Apache. You will need to compile/install the GD library
> (http://www.php.net/manual/en/ref.image.php) and maybe jpeg-6b. There may
be
> other extensions that you will need, for instance if you want to use True
> Type fonts in your images. There is plenty of documentation on
installation
> and set up.
>
> HTH!
>
> Jay
>
>



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




RE: [PHP] image function

2002-08-12 Thread Tom Kohnen

Hi!
Well you have to uncomment it AND restart apache afterwards!
Plus, i assume that your extensions dir in the php.ini is correct, if not,
apache will give you an error message ;)

Have a nice day,
- Tom

-Original Message-
From: NoWhErEMan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] image function


I want to use the image functions listed in www.php.net to manipulate
images. My server is Apache 2.0.x.x with PHP 4.2.2 , built on windows
platform. Is it uncomment the ;extension=php_gd.dll in php.ini enough to
enable such functions?

NoWhErEMaN



--
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] image function

2002-08-12 Thread Jay Blanchard

[snip]
I want to use the image functions listed in www.php.net to manipulate
images. My server is Apache 2.0.x.x with PHP 4.2.2 , built on windows
platform. Is it uncomment the ;extension=php_gd.dll in php.ini enough to
enable such functions?
[/snip]

Not on Apache. You will need to compile/install the GD library
(http://www.php.net/manual/en/ref.image.php) and maybe jpeg-6b. There may be
other extensions that you will need, for instance if you want to use True
Type fonts in your images. There is plenty of documentation on installation
and set up.

HTH!

Jay



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