to all
i do have a testbox server which is Centos 5 and imagemagick version 6.4.1 / PHP Version 5.1.6 / imagick 2.1.1
the following parameter works
$im = new Imagick();
/* Create empty canvas */
$im->newImage( 100, 100, "white", "jpg" );//png,jpg,gif.. image format
/* Create the object used to draw */
$draw = new ImagickDraw();
/* Set the button color.
Changing this value changes the color of the button */
$draw->setFillColor( new ImagickPixel("$backgroundcolor") ); // BOX COLOR //#4096EE
/* Create the rectangle */
$draw->rectangle( 0,0, 100, 100 );
now this generate a rectangle in my test server
however in live server which is using fedora 6 and imagemagick 6.3.7 / php version 5 the code above doesn't work
im assuming this piece of code
$im->newImage( 100, 100, "white", "jpg" );//png,jpg,gif.. image form
has something to do with the bugs
-note that the live server error setting disabled due to some reason
is there some command that is not working under 6.3.7 ??
your help is highly appreciated
thanks in advance
help unable to generate a box
Re: help unable to generate a box
Hi,
are there version differences between the test and the live server? It is a good practice to log the errors on live servers.
are there version differences between the test and the live server? It is a good practice to log the errors on live servers.
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org