Re: [PHP] GD - Problem writing text

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 9:30 am, Fredrik Thunberg wrote: imagettftext ($im, 30, 0, 10, 40 , $black, TTF_DIR. times.ttf, Hello World!); FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.1.3 The one things that differs between the servers is:

[PHP] GD - Problem writing text

2006-11-23 Thread Fredrik Thunberg
Hi all This is my first attempt to wrie to this mailing list, so please bare with me. My problem is as follows I'm trying to generate a dynamic picture with some text on it. The code works fine on one of my servers, but not on the other one. The code I'm using: $im = imagecreatetruecolor

Re: [PHP] GD, problem adding text to GIF images

2004-12-17 Thread Richard Lynch
Greg Donald wrote: On Thu, 16 Dec 2004 12:27:27 -0700, Vail, Warren [EMAIL PROTECTED] wrote: I believe that is the nature of GIF images, I seem to recall they were very compact but limited to a maximum of 16 colors (or 32 or some number like that[maybe 64]), fewer colors that JPEG. Anyone

Re: [PHP] GD, problem adding text to GIF images

2004-12-17 Thread Richard Lynch
Juan Nin wrote: I'm adding text to images using the native gd in PHP 4.3.9 I have no problems with jpg images, but with gif ones, the colour of the text added to the image always results a dark grey The image itself and text are fine, but not the colour, which should be white.. Has anyone

[PHP] GD, problem adding text to GIF images

2004-12-16 Thread Juan Nin
Hi, I'm adding text to images using the native gd in PHP 4.3.9 I have no problems with jpg images, but with gif ones, the colour of the text added to the image always results a dark grey The image itself and text are fine, but not the colour, which should be white.. Has anyone experienced this

RE: [PHP] GD, problem adding text to GIF images

2004-12-16 Thread Vail, Warren
] Sent: Thursday, December 16, 2004 10:20 AM To: [EMAIL PROTECTED] Subject: [PHP] GD, problem adding text to GIF images Hi, I'm adding text to images using the native gd in PHP 4.3.9 I have no problems with jpg images, but with gif ones, the colour of the text added to the image always

Re: [PHP] GD, problem adding text to GIF images

2004-12-16 Thread Greg Donald
On Thu, 16 Dec 2004 12:27:27 -0700, Vail, Warren [EMAIL PROTECTED] wrote: I believe that is the nature of GIF images, I seem to recall they were very compact but limited to a maximum of 16 colors (or 32 or some number like that[maybe 64]), fewer colors that JPEG. Anyone know exactly? gifs are

Re: [PHP] GD problem

2003-10-27 Thread Becoming Digital
Subject: [PHP] GD problem Hey! i did few upgrades on my server and i got into some weird problem. what i did was: Upgraded to: Apache2 Upgraded to: php 4.3.3 and after that GD stoped working... i did check on phpinfo(); and it came up with: gd GD Support enabled GD Version bundled

[PHP] GD problem

2003-10-26 Thread mantas
Hey! i did few upgrades on my server and i got into some weird problem. what i did was: Upgraded to: Apache2 Upgraded to: php 4.3.3 and after that GD stoped working... i did check on phpinfo(); and it came up with: gd GD Support enabled GD Version bundled (2.0.15 compatible)

Re: [PHP] GD problem

2003-09-24 Thread Becoming Digital
. If you'd still like to see it, email me off-list and I'll attach a few examples. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: Ignacio Correa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, 23 September, 2003 12:43 Subject: [PHP] GD problem

[PHP] GD problem

2003-09-23 Thread Ignacio Correa
Hi, I´m new in PHP+GD. I have install all library (PHP4-gd2, libgd2, etc, etc, etc.) and when I use gd functions no errors or warning are displayed, but when I use imagepng() or imagejpeg() no images are displayed in my browser, and in this place extrage symbols are displayed. You can see my bad

Re: [PHP] GD problem

2003-09-23 Thread Pete James
You're outputting a blank PNG image, in binary form. In order to display it (not that you'd see anything since it's blank), you need to output a Content-Type header first, like so: header(Content-Type: image/png); THis will instruct the browser to treat the incoming data as image data. HTH.

Re: [PHP] GD problem

2003-09-23 Thread Andrew Brampton
the image including the ImagePNG(); Andrew - Original Message - From: Ignacio Correa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 5:43 PM Subject: [PHP] GD problem Hi, I´m new in PHP+GD. I have install all library (PHP4-gd2, libgd2, etc, etc, etc.) and when I use

[PHP] GD problem

2003-07-04 Thread Branko F. Granar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there... I'm having huge problem with PHP 4.3.2 on FreeBSD 5.1 platform with GD functions. check out the following code: $str = some text; $img = imagecreatefrompng(images/template.png); $color = imagecolorallocate($img, $red, $blue, $green);

[PHP] gd problem

2001-12-22 Thread Phillip B. Bruce
Hi, How can I tell if a web server has gd library load properly. I'm having problem with the imagecreatejpeg as the graphics does not want to come up. The code is correct. As other images that doesn't use this are coming up ok. --

Re: [PHP] gd problem

2001-12-22 Thread Brian Clark
* Phillip B. Bruce ([EMAIL PROTECTED]) [Dec 22. 2001 14:47]: Hi, Hi. How can I tell if a web server has gd library load properly. I'm having problem with the imagecreatejpeg as the graphics does not want to come up. The code is correct. As other images that doesn't use this are

[PHP] GD problem

2001-03-27 Thread Daniel B I
You need the jpeg support. Shortly, do this: (I will use my version names, so you can easyly find something, if you find newer ones, it's your bussiness) 1. search the internet for: jpegsrc.v6b.tar.gz gd-1.8.3.tar.gz apache_1.3.14.tar.gz php-4.0.4.tar.gz 2. unzip all files in a tmp directory

[PHP] GD problem

2001-03-27 Thread Daniel B I
It.s me, again :) There is trick to find out if php will be compiled well (I mean with jpeg support): when issuing the ./configure command in php, after putting all the options, put something like this: ./configure ... cf.log (this is a redirection comand to write all output info to the file

Re: [PHP] GD problem

2001-03-27 Thread David Robley
On Tue, 27 Mar 2001 18:48, Daniel B I wrote: It.s me, again :) There is trick to find out if php will be compiled well (I mean with jpeg support): when issuing the ./configure command in php, after putting all the options, put something like this: ./configure ... cf.log (this is a

[PHP] GD problem

2001-03-26 Thread Brandon Orther
Hello, Using GD i get this error. I know what it means I just wanted to know if anyone knew how I resolve it. Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on line 5 Do I need to get new GD files and change php.ini or chan I just change the library? Thank you,

Re: [PHP] GD problem

2001-03-26 Thread Sterling
H- You might want to make sure your version of GD supports JPG format. If I'm not mistaken newer versions of GD don't support GIF anymore and the earlier versions of GD didn't support JPG but PNG format has always been supported. Maybe it's related to GD and not PHP at all. Just a thought.

Re: [PHP] GD problem

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 05:09, Brandon Orther wrote: Hello, Using GD i get this error. I know what it means I just wanted to know if anyone knew how I resolve it. Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on line 5 Do I need to get new GD files and change