Source for file ImageMagick.php
Documentation is available at ImageMagick.php
* Array of parameter strings passed to 'convert' binary.
$this->_dimensions = array ('x' => $x, 'y' => $y);
protected function _getColor(Image_3D_Color $color)
$values = $color->getValues ();
$values[0 ] = (int) round($values[0 ] * 255 );
$values[1 ] = (int) round($values[1 ] * 255 );
$values[2 ] = (int) round($values[2 ] * 255 );
$values[3 ] = (int) round($values[3 ] * 127 );
$color = 'rgba('. implode(',', $values). ')';
$color = 'rgb('. implode(',', $values). ')';
$points = $polygon->getPoints ();
foreach ($points as $point) {
$pointCoords = $point->getScreenCoordinates ();
$coords .= (int) $pointCoords[0 ]. ','.(int) $pointCoords[1 ]. ' ';
if (in_array($type, array ('png', 'jpeg'))) {
$this->_filetype = $type;
public function save($file)
$firstRun === false ? $command = $file . ' ' . $command : $firstRun = false;
$command = 'convert ' . $command . ' ' . $file;
// echo "Excuting command run <".$commandCount++.">\n";
Documentation generated on Mon, 11 Mar 2019 15:48:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|