Commit 638a52eb authored by brent's avatar brent

modify watermark

parent 59ec5be7
......@@ -608,7 +608,7 @@ func addWatermark(sourceURL string, watermarkURL string) (string, error) {
// 添加水印
if watermarkImg != nil {
dc.DrawImageAnchored(watermarkImg, 0, dc.Height(), 0, 1) // 在中心添加水印
dc.DrawImageAnchored(watermarkImg, dc.Width()/2, dc.Height()-80, 0.5, 0.5) // 在中心添加水印
}
// 获取合成后的图像
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment