摘要:
$color = $this->dominant_color($img); //获取图片颜色 $water = $this->make_watermark_img('水印文字', $color); //生成水印图片 $this->add_img_water($file_path, $water['u 阅读全文
摘要:
/** * 裁剪图片 * imageCropper * @param string $source_path 图片地址 * @param string $w_file_path 要保存的地址 */ public function imageCropper($source_path, $w_file_ 阅读全文