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