On Fri, 2010-08-20 at 00:44 +0200, Lorenzo Marussi wrote:
> hello list,
>
> I'm trying to manage a image resouce inside a method, but
> unsuccessfully...
>
> In detail, that's some code snippets:
>
> the class and the method:
>
> class.php
>
> class canvas{
>
> function makeImage($imageW
hello list,
I'm trying to manage a image resouce inside a method, but
unsuccessfully...
In detail, that's some code snippets:
the class and the method:
class.php
class canvas{
function makeImage($imageWidth = 850){
$im = imagecreate(110, 20) or die("Cannot Initialize new GD
image
Did you try making it transparent first, before adding the circle?
Only a question because I'm not sure if it will make a difference. I
know I had problems trying to get the alpha blending to actually look
decent in png's (ended up looking like a very poor gif with a non-
antialiased mask)
At 4:27 PM +0100 4/2/07, Richard Davey wrote:
tedd wrote:
In the php manual it says:
imagecreate() returns an image identifier representing a blank
image of specified size.
We recommend the use of imagecreatetruecolor().
Q: Why the recommendation?
Because the need to create 256 colour (or
tedd wrote:
In the php manual it says:
imagecreate() returns an image identifier representing a blank image of
specified size.
We recommend the use of imagecreatetruecolor().
Q: Why the recommendation?
Because the need to create 256 colour (or less) images grows less year
by year. If you
Hi gang:
A couple of image questions:
In the php manual it says:
imagecreate() returns an image identifier representing a blank image
of specified size.
We recommend the use of imagecreatetruecolor().
Q: Why the recommendation?
imagecreate() returns a "blank" page whereas imagecreatetruecol
On 8 Feb 2006, at 14:20, Ross wrote:
I am trying to replace the images in a page with this code
This is fine here...
http://www.ecurry.net/example1.php
http://www.ecurry.net/example2.php
but when I try and embed in inside a html page I get a garbled mess
http://www.ecurry.net/menu6.php
ht
Hi,
I am trying to replace the images in a page with this code
This is fine here...
http://www.ecurry.net/example1.php
http://www.ecurry.net/example2.php
but when I try and embed in inside a html page I get a garbled mess
http://www.ecurry.net/menu6.php
http://www.ecurry.net/menu6.phps
I
sure all the names above are correct and you can eliminate a lot of
stuff for Win/Linux installations if you are not targeting both versions.
Warren Vail
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Friday, February 13, 2004 8:07 AM
To: Eric
Cc: [EMAIL PROTECTED]
On Fri, 2004-02-13 at 11:00, Eric wrote:
> However, when I run it, I get an error:
>
> Fatal error: Call to undefined function: imagecreate() in [file name] on line 3
Sound like your version was complied without GD support.
http://www.php.net/manual/en/ref.image.php
--
BrianGnuPG -> Key
Hello Eric,
Friday, February 13, 2004, 4:00:02 PM, you wrote:
E> Fatal error: Call to undefined function: imagecreate() in [file name] on line 3
E> I am running under MacOSX 10.3.2 and PHP 4.3.2.
Sounds very much like you have PHP without the image library compiled
into it. I don't know where to
I've got this fairly simply script:
// white background and blue text
$bg = imagecolorallocate($im, 255, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);
// write the string at the top left
imagestring($im, 5, 0, 0, "Hello world!", $textcolor);
// output the image
header(
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells all recipients
which posting(s) your posting refers
Hello everyone!
Is it possible to define a path for ImageCreate and/or ImageCopyResize ?
I have an image gallery script that uploads images to the server. I would
like to automatically create thumbnails of the image [as soon as it is
uploaded and saved in a sub-directory. Is this possible with
Im
YAY Got it working somewhat, now the so called image comes out garbled on
the browser!! BUT getting close!
"Michelle Bernard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> no errors have come up yet, still getting the same problem too, I am
pulling
> out my hair :) everything els
no errors have come up yet, still getting the same problem too, I am pulling
out my hair :) everything else works nice and smoothly just this whole gd
thing...
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you get any error at apache start up or in error logs?
Do you get any error at apache start up or in error logs?
Michelle Bernard wrote:
Hi Philip,
Thanks for your response, I tried those steps, still no go, getting that
same error
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Philip,
Thanks for your response, I tried those steps, still no go, getting that
same error
"Philip Olson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Michelle-
>
> a) Only enable one GD dll, so use php_gd2.dll.
> b) Consider using imagecreatetruecolor() instead bu
Hello Michelle-
a) Only enable one GD dll, so use php_gd2.dll.
b) Consider using imagecreatetruecolor() instead but
either will work.
c) When asking support questions, it's important to
say exactly what version, although in this case
we know it's 4.3.0-1 as php_gd.dll was removed in
PH
Hi there,
I am running PHP 4.3 something or other, I have enabled php_gd.dll and
php_gd2.dll, pointed the extension directory to the right place, looked at
the phpinfo and it has the correct information about the gd's being enabled,
I have tried reintalling apache and php...but still get errors on
Tell us what is in the logs, they are in logs\ in the apache
installation directory
Anthony Ritter wrote:
Chris,
The function I'm trying to get...it's:
imagecreate()
I am using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to
imagecreate()
The fol
Chris,
The function I'm trying to get...it's:
imagecreate()
I am using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to
imagecreate()
The following copy is located in my php.ini file...one of which is:
..
;extension=php_gd.dll
...
--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Fine Chris.
>
> Maybe you'd be kind enough to explain how I can get that function to work.
This is an example of what I am talking about. I would love to help, but you
are leaving out way too much information. What function? Why do you think it
does
Fine Chris.
Maybe you'd be kind enough to explain how I can get that function to work.
I've uncommented the line in the php.ini file.
In "Mastering PHP" (Sybex) on page 559 - Chapter 18, the authors of the
textbook - Allen and Hornberger - say when using Win to:
...
"uncommen
--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Yes Adam.
> Any ideas?
>
> TR
Please write emails that make sense if you are going to send them to the entire
list. I have noticed a few of these "me too" type of emails today.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Yes Adam.
Any ideas?
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did you restart?
On Wed, 2003-02-26 at 12:41, Anthony Ritter wrote:
On MS Win 98 / Apache / PHP 4
If somebody out there using Win can check my php.ini file and advise me what
I'm doing wrong.
I have uncommented:
..
On MS Win 98 / Apache / PHP 4
If somebody out there using Win can check my php.ini file and advise me what
I'm doing wrong.
I have uncommented:
..
extension=php_gd.dll
..
and have included:
..
extension_dir = C:\php4\extensions
I ru
I'm running PHP 4.3 and W2k with IIS 5.0. I have enabled php_gd and it does
show up when I do a phpinfo. The php_gd.dll is in the winnt/system32
directory (I've also tried it in almost every other directory too) and I get
these error messages:
Cannot add header information - headers already sent
check to see if gd is actually activated by using phpinfo() assuming you are
using PHP4...
/dkm
- Original Message -
From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 2:35 PM
Subject: [PHP] Imagecreate and/or GD
Hello everyone.
I wrote a little code creating PNG images under Apache/PHP windows.
As the code works fine, I need to transfer it onto the Linux platform.
When I execute the code, PHP replies "Fatal error: Call to undefined
function: imagecreate()".
I had libgd installed. I just added GD 1.8.4.
Hello,
I'm making an Image and I was wondering what the difference is between these
two Image constructors. I need to find a way to make dotted and dashed
lines (according to different patterns I've been given) and I want the
sections between the dots to be transparent. I'm planning on using t
ruary 22, 2002 10:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] imagecreate with Windows .exe installer
>
>
> php4 installed with Apache on Windows ME, using as localhost.
>
> I am trying to use imagecreate with a version of php4 that was installed
> with the binary .exe inst
Did you restarted the Apache service?
Regards,
Andrey Hristov
- Original Message -
From: "Mike Brackenridge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 7:00 PM
Subject: [PHP] imagecreate with Windows .exe installer
> php4
22, 2002 10:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] imagecreate with Windows .exe installer
php4 installed with Apache on Windows ME, using as localhost.
I am trying to use imagecreate with a version of php4 that was installed
with the binary .exe installer, php seems to be installed OK.
I
php4 installed with Apache on Windows ME, using as localhost.
I am trying to use imagecreate with a version of php4 that was installed
with the binary .exe installer, php seems to be installed OK.
I have changed the .ini file line:
;extension=php_gd.dll
To
extension=php_gd.dll
But I get an e
Hi there...
Well, i have php 4.0.6 under windows 98 and i'm havin' some problens to use JPGRAPH
1.2.2
. I have this string as error:
"Fatal error: Call to undefined function: imagecreate() in
c:\utils\www\graph\jpgraph.php on line 2025"
jpgraph.php file:
2025: $this->img = ImageCreate($aWid
37 matches
Mail list logo