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);

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...