Exemple #1
0
 /**
  * create image with watermark
  */
 public function output($source, $watermarked_destination = null, $watermark_options = null)
 {
     try {
         $img = \WaterMark::output($source, $watermarked_destination, $watermark_options);
     } catch (Exception $e) {
         die($e->getMessage());
     }
     return $img;
 }