imagick_annotate

imagick_annotate --  イメージにテキストを指定して注記を行う

説明

bool imagick_annotate (resource imagick_handle, array options)

警告

この関数は、 実験的 なものです。 この関数の動作・関数名を含めここに書かれていることすべてが このパッケージの将来のリリースで予告なく変更される可能性があります。 注意を喚起するとともに、使用者のリスクでこの関数を使用してください。

この関数は、イメージにテキストを描画するために使用可能です。 以下の例を参照して下さい。

例 1imagick_annotate()の例


<?php
imagick_annotate($handle,array(
            "primitive"=>"text 150,150 hello world",
            "pointsize"=>60,
            "antialias"=>1,
            "stroke"=>'green',            
            "fill"=>'#ff7755',                        
            "font"=>"Arial.ttf",
            "rotate"=>90
            ));
?>
?>