From 4d973b75b166fd20460d5c236be821848f4b48d3 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Sun, 23 Dec 2018 13:53:45 +0800 Subject: [PATCH] 1.x --- functions/watermark.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 functions/watermark.txt diff --git a/functions/watermark.txt b/functions/watermark.txt new file mode 100644 index 0000000..4a27fb2 --- /dev/null +++ b/functions/watermark.txt @@ -0,0 +1,15 @@ +//图片水印 + $handle->image_text = 'xiaoz.me'; + //文字颜色 + $handle->image_text_color = '#585858'; + //字体路径 + $handle->image_text_font = 5; + //字体透明度 + $handle->image_text_opacity = 80; + //水平坐标 + $handle->image_text_x = 10; + //垂直坐标 + $handle->image_text_y = $handle->image_dst_y - 30; + //字体大小 + $handle->image_text_size = 60; + //图片水印END \ No newline at end of file