php - imagick pseudostring format -


i'm putting image handler in imagick - i've looked @ pseudoimage class:

$test->newpseudoimage($width, $height, $pseudostring); 

however can't find breakdown of pseudostring can contain - know one?

and i'm making use of setoption:

$text->setoption('fill', $fontcolour[$_post['fontcolour']]); 

but can't find clear explanation of how maps (i assume) image magick's own variables.

i have searched here , google, need clear breakdown - can point me one?

thanks

pseudo format

imagemagick's pseudo format can defined "format:[argument]". each format have it's own unique effects/behavior, , cover range of image properties (e.g. label:"hello world!") specific os actions (e.g. **x:***root*). there built-in images can accessed through pseudo format.

examples:

$img = new imagemagick(); $img->newpseudoimage(75,50,'label:"hello world!"'); $img->writeimage('hello.png'); 

hello world!

$img = new imagemagick(); $img->newpseudoimage(75,50,'pattern:bricks'); $img->writeimage('bricks.png'); 

bricks!

set option

imagick::setoption sets key / value options directly on c-api wand library (see magicksetoption). set option in wand translate -define argument in imagemagick script's command-line-options.

documentation

... can't find clear explanation of how maps (i assume) image magick's own variables. have searched here , google, need clear breakdown - can point me one?

for part, imagemagick ships detailed documentation, manuals, , examples. although such articles can found online, may need refer documentation shipped current install.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -