Imagick::_construct


wizard apg

The imagick constructor.



<?php

public Imagick::__construct(mixed $files = ?)

?>

$files


The path to an image to load or an array of paths.

Paths can include wildcards for file names, or can be URLs.





This function creates an Imagick instance for a specified image or set of images.



  1 EXERCISE   

<?php

$imagick 
= new Imagick();

$jpgfn1 = PATH2IMGW . '/jpg/wizard.jpg';

?>

  2 EXERCISE   

<?php

$jpgfn2 
= PATH2IMGW . '/jpg/wizard.jpg';

$imagick = new Imagick($jpgfn2);

?>

  3 EXERCISE   

<?php

$imagick 
= new Imagick(PATH2IMGW . '/jpg/wizard.jpg');

?>