Class Phalcon\Image\Factory
extends abstract class Phalcon\Factory
implements Phalcon\FactoryInterface
Loads Image Adapter class using 'adapter' option
<?php
use Phalcon\Image\Factory;
$options = [
"width" => 200,
"height" => 200,
"file" => "upload/test.jpg",
"adapter" => "imagick",
];
$image = Factory::load($options);
Methods
public static load (Phalcon\Config | array $config)
protected static loadClass (mixed $namespace, mixed $config)
...
General
Contributions
Getting Started
Tutorials
Environments
Development Tools
Database
Business Logic