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:
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
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 JPE
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
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?
Warren Vail
> -Original Message-
> From: Juan Nin [mailto:[EMAIL PROTECTED]
If this server is for anything beyond internal development, you should seriously
reconsider using Apache 2 with PHP. As has been said numerous times and is very well
documented, the combination can be highly unstable.
I know this doesn't answer your question but hopefully it prevents further qu
It's generally a good idea to post your code so that we can see what's actually
happening. Fortunately, Peter and Andrew were able to give some good tips this time,
but you might not always be so lucky.
I was going to include some of my code but I fear it may just lead to further
confusion. I
ImagePNG() ouputs to the browser unless you specify the filename parameter
So those funny symbols you are seeing is the PNG file but displayed as text.
To fix this you need to add a
Header("Content-type: image/png");
somewhere in your PHP (preferably before ImagePNG), and it will tell your
browse
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.
* 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
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 i
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 cha
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.
13 matches
Mail list logo