Hairy DJ Posted February 16, 2012 Posted February 16, 2012 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 Tutorialhttp://hairydj.heliohost.org/php/index.php DJ Mike's Imagick Exampleshttp://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. Quote
Byron Posted February 16, 2012 Posted February 16, 2012 Hey Mike. Glad to see your tutorials on heliohost. Which imagick example doesn't work for heliohost? Quote
Hairy DJ Posted February 17, 2012 Author Posted February 17, 2012 ImagickDraw::circlehttp://hairydj.heliohost.org/php/imagemagick/examples_06/circle.php It should look like this http://eclecticdjs.com/mike/tutorials/php/imagemagick/examples_06/circle.php but the setfillcolor() doesn't give the correct color. I haven't tried it with a blank image. Quote
Byron Posted February 17, 2012 Posted February 17, 2012 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); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.