View previous topic :: View next topic |
Author |
Message |
Ganimedes n00b
Joined: 28 Mar 2004 Posts: 2 Location: Netherlands
|
Posted: Sun Mar 28, 2004 11:02 am Post subject: Emerge mod_php with extra support |
|
|
Hi
I want to be able to generate images on the fly using my apache/php webserver. This isn't installed yet, though - how do I specify what support to emerge?
Thanks a lot
Sam _________________ Outside of a dog, a book's a man's best friend. Inside of a dog, it's too dark to read. W.H. Smith |
|
Back to top |
|
|
misterLu Guru
Joined: 14 Sep 2003 Posts: 430 Location: Poland
|
Posted: Sun Mar 28, 2004 11:20 am Post subject: |
|
|
You need gd library.
USE="gd" emerge mod_php will install PHP with support for libgd. This 'll let you 'generate graphics on the fly' |
|
Back to top |
|
|
Ganimedes n00b
Joined: 28 Mar 2004 Posts: 2 Location: Netherlands
|
Posted: Sun Mar 28, 2004 3:26 pm Post subject: |
|
|
Yeah, I need libjpeg and one more as well - but at least I now know how to do it. Thanks. Sam _________________ Outside of a dog, a book's a man's best friend. Inside of a dog, it's too dark to read. W.H. Smith |
|
Back to top |
|
|
eZe n00b
Joined: 21 Mar 2004 Posts: 12
|
Posted: Sun Mar 28, 2004 4:59 pm Post subject: |
|
|
anothe possibility is ImageMagick.
But there´s a pro and contra for ImageMagick on PHP:
+ it supports many image file formats
+ it has more features
+ you can use the external programs that come with ImageMagick
- it is not so stable as the gd support (It is rated as Beta in PECL)
- gd is included in PHP (lib and php-extension for gd)
http://pecl.php.net/package/imagick
Just for Info |
|
Back to top |
|
|
|