__construct() 공개 메소드

Class Constructor
public __construct ( string $fileName, $options = [], $isDataStream = false ) : GdThumb
$fileName string
리턴 GdThumb
예제 #1
0
 public function __construct($filename, $options = array(), $isDataStream = false)
 {
     $default = array('resizeUp' => true, 'jpegQuality' => 80, 'correctPermissions' => true, 'preserveAlpha' => true, 'alphaMaskColor' => array(255, 255, 255), 'preserveTransparency' => true, 'transparencyMaskColor' => array(0, 0, 0));
     $options = array_merge($default, $options);
     parent::__construct($filename, $options, $isDataStream);
 }