Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function load(ImageInterface $image, array $options = array())
 {
     $mode = ImageInterface::INTERLACE_LINE;
     if (!empty($options['mode'])) {
         $mode = $options['mode'];
     }
     $image->interlace($mode);
     return $image;
 }
Esempio n. 2
0
 /**
  * Apply  interlace filter
  *
  * @param  ImageInterface	$image An image instance
  * @return void
  */
 protected function filterInterlace(ImageInterface $image)
 {
     $image->interlace(ImageInterface::INTERLACE_LINE);
     return $image;
 }