Jump to content

Recommended Posts

Posted

Byron asked If I could back up my PHP/Imagick web pages here on heliohost so here they are. When I started PHP I had no programing experience except Basic back in the 70's and everything I read had a very sharp learning curve. I made my tutorial for absolute beginners. When I started Imagick I found that it was almost totally undocumented on http://php.net so to teach myself I tried every method and made a web page for almost every one I got to work. I included some animation examples because there is almost nothing on the internet about making animations with PHP.

 

 

DJ Mike's PHP Tutorial

http://hairydj.heliohost.org/php/index.php

 

 

DJ Mike's Imagick Examples

http://hairydj.heliohost.org/php/imagemagick/index.php

 

There is one Imagick example that doesn't work on heliohost and I haven't figured a work-around yet.

Posted

Are you sure it's setfillcolor() that isn't working? I use that on several of my imagick tools to set the font color:

 

http://byrondallas.heliohost.org/php/tools/imagick-font-viewer.php

 

 

$image = new Imagick();
$pixel = new ImagickPixel("white");
$draw = new ImagickDraw();
$draw->setFont($font);
$draw->setFontSize($size);
$draw->setFillColor("#000080");
$draw->setGravity(Imagick::GRAVITY_CENTER);

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...